Browse Source

pep8-compat: Replace undefined Error by Message in CountryList-Module

develop
Jonathan Golder 6 years ago
parent
commit
4a856b1dae
  1. 2
      countrylist.py

2
countrylist.py

@ -103,7 +103,7 @@ class CountryList():
self.year -= 1
# If last year does not match, raise YearError
if str( self.year ) not in self.page.title():
raise CountryListYearError
raise CountryListError( "CountryList year is errorneous!" )
def parse( self ):
"""

Loading…
Cancel
Save