Skip to content

Commit

Permalink
Merge pull request #268 from guedou/python2.5_fix
Browse files Browse the repository at this point in the history
Useless 'as' keyword breaks Python 2.5 compatibility
  • Loading branch information
p-l- committed Sep 4, 2016
2 parents 8a81780 + 18f3a91 commit 095adbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scapy/arch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
MATPLOTLIB_INLINED = 0
MATPLOTLIB_DEFAULT_PLOT_KARGS = {"marker": "+"}
# RuntimeError to catch gtk "Cannot open display" error
except (ImportError, RuntimeError) as e:
except (ImportError, RuntimeError):
plt = None
MATPLOTLIB = 0
MATPLOTLIB_INLINED = 0
Expand Down

0 comments on commit 095adbc

Please sign in to comment.