Skip to content

Commit

Permalink
catch Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbardel committed May 20, 2015
1 parent d9f3dd5 commit 6bdd372
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ccy/core/country.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def countries():
from pytz import country_names
for k, n in country_names.items():
v[k.upper()] = n
except:
except Exception:
pass
return _countries

Expand Down
2 changes: 1 addition & 1 deletion ccy/core/currency.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def mkt(self):

def over(self, name='usd'):
'''Returns a new currency pair with the *over* currency as
second part of the pair (Foreign currency).'''
second part of the pair (Foreign currency).'''
name = name.upper()
if self.ccy1.code == name.upper():
return ccy_pair(self.ccy2, self.ccy1)
Expand Down

0 comments on commit 6bdd372

Please sign in to comment.