Fix unbound `exc` in babel.dates by akx · Pull Request #959 · python-babel/babel
akx
enabled auto-merge (squash)
Comment on lines +249 to +250
| except pytz.UnknownTimeZoneError as e: | ||
| exc = e |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the variable is not used, can't it be removed?
| except pytz.UnknownTimeZoneError as e: | |
| exc = e | |
| except pytz.UnknownTimeZoneError: | |
| pass |
akx
deleted the
unbound-exc
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters