Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix import errors and warnings detected by pylint #6

Merged
merged 4 commits into from
Jul 7, 2015
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix pylint bare-except warnings for imports
  • Loading branch information
moreati committed Jul 7, 2015
commit 3a2a803ae522cb8ddfda090bdc929756bd62e77a
2 changes: 1 addition & 1 deletion smartcard/Examples/wx/pcscdiag/pcscdiag.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
# wxPython GUI modules (http:https://www.wxpython.org)
try:
import wx
except:
except ImportError:
print('You need wxpython (http:https://www.wxpython.org) ' + \
'to run this sample from the source code!')
print('press a key to continue')
Expand Down
2 changes: 1 addition & 1 deletion smartcard/pyro/server/RemoteReaderServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
try:
import Pyro.core
import Pyro.naming
except:
except ImportError:
print('You need pyro (python remote objects) ' + \
'at http:https://www.xs4all.nl/~irmen/pyro3/')
import sys
Expand Down