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