Commit 858c80bb authored by Daniel Pavel's avatar Daniel Pavel

'except' style fix

parent f7e640fd
...@@ -11,7 +11,7 @@ except ImportError: ...@@ -11,7 +11,7 @@ except ImportError:
import pkg_resources import pkg_resources
__version__ = pkg_resources.get_distribution('pycountry').version + ' (PyCountry)' __version__ = pkg_resources.get_distribution('pycountry').version + ' (PyCountry)'
del pkg_resources del pkg_resources
except: except (ImportError, Exception):
__version__ = "? (PyCountry)" __version__ = "? (PyCountry)"
def _copy_fields(l): def _copy_fields(l):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment