2006-10-08 Alex Roitman <shura@gramps-project.org>
* src/RelLib/_Location.py (set_county, get_county): Move into LocationBase class. * src/RelLib/_LocationBase.py (set_county, get_county): Move from Location class. svn: r7371
This commit is contained in:
parent
e2ae267d98
commit
fae1b7dfb2
@ -1,3 +1,9 @@
|
|||||||
|
2006-10-08 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/RelLib/_Location.py (set_county, get_county): Move into
|
||||||
|
LocationBase class.
|
||||||
|
* src/RelLib/_LocationBase.py (set_county, get_county): Move from
|
||||||
|
Location class.
|
||||||
|
|
||||||
2006-10-07 Alex Roitman <shura@gramps-project.org>
|
2006-10-07 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/Editors/_EditSourceRef.py (_cleanup_on_exit): Factor out
|
* src/Editors/_EditSourceRef.py (_cleanup_on_exit): Factor out
|
||||||
cleanup into its own method (as in the parent class).
|
cleanup into its own method (as in the parent class).
|
||||||
|
@ -86,11 +86,3 @@ class Location(SecondaryObject,LocationBase):
|
|||||||
def get_parish(self):
|
def get_parish(self):
|
||||||
"""gets the religious parish name"""
|
"""gets the religious parish name"""
|
||||||
return self.parish
|
return self.parish
|
||||||
|
|
||||||
def set_county(self,data):
|
|
||||||
"""sets the county name of the Location object"""
|
|
||||||
self.county = data
|
|
||||||
|
|
||||||
def get_county(self):
|
|
||||||
"""returns the county name of the Location object"""
|
|
||||||
return self.county
|
|
||||||
|
@ -121,3 +121,11 @@ class LocationBase:
|
|||||||
def get_country(self):
|
def get_country(self):
|
||||||
"""returns the country name of the LocationBase object"""
|
"""returns the country name of the LocationBase object"""
|
||||||
return self.country
|
return self.country
|
||||||
|
|
||||||
|
def set_county(self,data):
|
||||||
|
"""sets the county name of the LocationBase object"""
|
||||||
|
self.county = data
|
||||||
|
|
||||||
|
def get_county(self):
|
||||||
|
"""returns the county name of the LocationBase object"""
|
||||||
|
return self.county
|
||||||
|
Loading…
Reference in New Issue
Block a user