astyle: minor tweaks in client/server scripts

This commit is contained in:
Daniel Marjamäki 2019-06-26 20:38:21 +02:00
parent 76542509a8
commit 7e68ba5a87
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ def get_source_files(path):
return files return files
if __name__ == "__main__": if __name__ == "__main__":
server_address = ('localhost', 18000) server_address = ('cppcheck.osuosl.org', 18000)
source_files = [] source_files = []
for d in ['cli', 'gui', 'lib', 'test', 'tools']: for d in ['cli', 'gui', 'lib', 'test', 'tools']:

View File

@ -29,7 +29,7 @@ def server(port):
continue continue
# Format # Format
process = subprocess.Popen(['astyle', '--options=../.astylerc'], process = subprocess.Popen(['astyle', '--options=.astylerc'],
stdin=subprocess.PIPE, stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE) stderr=subprocess.PIPE)