pep8-compat: Replace undefined Error by Message in CountryList-Module
This commit is contained in:
@@ -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 ):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user