Skip to content

Commit

Permalink
Add missing exc exception variable for qa/bin/functional
Browse files Browse the repository at this point in the history
  File "./exabgp/./qa/bin/functional", line 155, in collect
    self.message = str(exc)
UnboundLocalError: local variable 'exc' referenced before assignment

Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Jul 9, 2024
1 parent 57c7573 commit d57714c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/bin/functional
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class Exec(object):
except ValueError as exc: # I/O operation on closed file
self.message = str(exc)
pass
except Alarm:
except Alarm as exc:
self.message = str(exc)
pass

Expand Down

0 comments on commit d57714c

Please sign in to comment.