DescriptionFixing UnboundLocalError: local variable 'timestamp' in manager.py
The try except block in _rename_results_folder() is throwing an UnboundLocalError.
Because the return statement in except block is inside if statement.
If the condition is false the function doesnot return which throws an error so the return statement must be outside the if statement.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179884
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|