Skip to content

Commit

Permalink
Fix pylint's new W0707 with raise ... from
Browse files Browse the repository at this point in the history
  • Loading branch information
cdown committed Aug 21, 2020
1 parent 5b6f7b9 commit d5bc954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tzupdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def link_localtime(timezone, zoneinfo_path, localtime_path):
thrown_exc.errno,
'Could not link "%s" (%s). Are you root?'
% (localtime_temp_path, thrown_exc),
)
) from thrown_exc
raise

# To be atomic, these need to be on the same device.
Expand Down

0 comments on commit d5bc954

Please sign in to comment.