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

This commit is contained in:
2015-11-23 19:04:27 +01:00
parent 166e61aee7
commit 4a856b1dae

View File

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