dlldiag/subcommands/trace.py
def aggregateCalls(calls):
		'''
		Aggregates a set of CallTrace objects, returning the first successful call
		if at least one call was successful or else simply returning the first call
		'''
		succeeded = list([c for c in calls if c.result == 0])
		return succeeded[0] if len(succeeded) > 0 else calls[0]

		Aggregates a set of CallTrace objects, returning the first successful call
		if at least one call was successful or else simply returning the first call
		
Aggregates a set of CallTrace objects, returning the first successful call
if at least one call was successful or else simply returning the first call
Aggregates a set of CallTrace objects returning the first successful call if at least one call was successful or else simply returning the first call
def aggregateCalls(calls):
		succeeded = list([c for c in calls if c.result == 0])
		return succeeded[0] if len(succeeded) > 0 else calls[0]
def aggregateCalls ( calls ) : succeeded = list ( [ c for c in calls if c . result == 0 ] ) return succeeded [ 0 ] if len ( succeeded ) > 0 else calls [ 0 ]
Aggregates a set of CallTrace objects, returning the first successful call
if at least one call was successful or else simply returning the first call
Aggregates a set of CallTrace objects returning the first successful call if at least one call was successful or else simply returning the first call
'''
		Aggregates a set of CallTrace objects, returning the first successful call
		if at least one call was successful or else simply returning the first call
		'''
calls