Fix Bug: Writing is requested even when only rev_ids have changed
Introduce new attr to CountryList for simple get information wether page was parsed The SummaryPageEntryTemplate comparation to non-equal fails when unparsed Entrys occur --> and it with information wether CountryList was parsed
This commit is contained in:
@@ -74,6 +74,8 @@ class CountryList():
|
||||
for attr in __attr:
|
||||
setattr( self, attr, None )
|
||||
|
||||
self.parsed = False
|
||||
|
||||
# Try to find year
|
||||
self.find_year()
|
||||
|
||||
@@ -121,6 +123,9 @@ class CountryList():
|
||||
self.prepare_titel()
|
||||
self.prepare_interpret()
|
||||
|
||||
# For easy detecting wether we have parsed self
|
||||
self.parsed = True
|
||||
|
||||
def detect_belgian( self ):
|
||||
"""
|
||||
Detect wether current entry is on of the belgian (Belgien/Wallonien)
|
||||
|
||||
Reference in New Issue
Block a user