'except' style fix

This commit is contained in:
Daniel Pavel 2019-03-29 17:06:26 +02:00
parent f7e640fd98
commit 858c80bb20

View File

@ -11,7 +11,7 @@ except ImportError:
import pkg_resources
__version__ = pkg_resources.get_distribution('pycountry').version + ' (PyCountry)'
del pkg_resources
except:
except (ImportError, Exception):
__version__ = "? (PyCountry)"
def _copy_fields(l):