Neatened up console output a little bit.
This commit is contained in:
parent
92d217371c
commit
26d1127e64
|
@ -102,7 +102,7 @@ def parse_info_from_command( args, value, path = None ):
|
||||||
|
|
||||||
:rtype : string
|
: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:
|
for line in proc.stdout:
|
||||||
line = get_str_from_process_stdout( line )
|
line = get_str_from_process_stdout( line )
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ def get_client_set( path ):
|
||||||
|
|
||||||
command = "p4 fstat ..."
|
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:
|
for line in proc.stdout:
|
||||||
line = get_str_from_process_stdout( line )
|
line = get_str_from_process_stdout( line )
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ def get_client_root( ):
|
||||||
"""
|
"""
|
||||||
command = "p4 info"
|
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:
|
for line in proc.stdout:
|
||||||
line = get_str_from_process_stdout( line )
|
line = get_str_from_process_stdout( line )
|
||||||
|
|
||||||
|
|
|
@ -206,7 +206,7 @@ class P4SyncMissing:
|
||||||
print( " Done." )
|
print( " Done." )
|
||||||
|
|
||||||
if not options.quiet:
|
if not options.quiet:
|
||||||
print( "Done." )
|
print( " Done." )
|
||||||
|
|
||||||
end = time.clock()
|
end = time.clock()
|
||||||
delta = end - start
|
delta = end - start
|
||||||
|
|
Loading…
Reference in New Issue