Doug Whitfield

Doug Whitfield at

Any #python geniuses got any ideas as to why this would work for one call, but not a bulk call?

p4Types = dict ()
print( "Fetching file information..." )
results = p4.run_fstat('-Os', '-F', '^action=delete & ^headAction=delete & ^headAction=move/delete', '...' + extension)
for result in results:
f = result[ 'depotFile' ]
f = p4MarshalString( f )
t = None
if 'type' in result:
t = result[ 'type' ]
elif 'headType' in result:
t = result[ 'headType' ]
t = p4MarshalString( t )
if not t in p4Types:
p4Types[ t ] = list ()
p4Types[ t ].append( f )