From 26d1127e64b798ac51189aab88f923fc4346f3ea Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 13 May 2015 12:10:58 -0600 Subject: [PATCH] Neatened up console output a little bit. --- p4Helper.py | 6 +++--- p4SyncMissingFiles.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/p4Helper.py b/p4Helper.py index a82f845..937b13b 100644 --- a/p4Helper.py +++ b/p4Helper.py @@ -102,7 +102,7 @@ def parse_info_from_command( args, value, path = None ): :rtype : string """ - proc = subprocess.Popen( args.split( ), stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=path ) + proc = subprocess.Popen( args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=path ) for line in proc.stdout: line = get_str_from_process_stdout( line ) @@ -141,7 +141,7 @@ def get_client_set( path ): command = "p4 fstat ..." - proc = subprocess.Popen( command.split( ), stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=path ) + proc = subprocess.Popen( command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=path ) for line in proc.stdout: line = get_str_from_process_stdout( line ) @@ -172,7 +172,7 @@ def get_client_root( ): """ command = "p4 info" - proc = subprocess.Popen( command.split( ), stdout=subprocess.PIPE, stderr=subprocess.PIPE ) + proc = subprocess.Popen( command, stdout=subprocess.PIPE, stderr=subprocess.PIPE ) for line in proc.stdout: line = get_str_from_process_stdout( line ) diff --git a/p4SyncMissingFiles.py b/p4SyncMissingFiles.py index c5b6d33..0991738 100644 --- a/p4SyncMissingFiles.py +++ b/p4SyncMissingFiles.py @@ -206,7 +206,7 @@ class P4SyncMissing: print( " Done." ) if not options.quiet: - print( "Done." ) + print( " Done." ) end = time.clock() delta = end - start