2006-05-19 Don Allingham <don@gramps-project.org>
* src/RelLib/_SecondaryObject.py: added, provide is_equal * src/RelLib/_Url.py: inherit from SecondaryObject * src/RelLib/_MediaRef.py: inherit from SecondaryObject * src/RelLib/_ChildRef.py: inherit from SecondaryObject * src/RelLib/_Name.py: inherit from SecondaryObject * src/RelLib/_Address.py: inherit from SecondaryObject * src/RelLib/_SourceRef.py: inherit from SecondaryObject * src/RelLib/_RepoRef.py: inherit from SecondaryObject * src/RelLib/_PersonRef.py: inherit from SecondaryObject * src/RelLib/_Attribute.py: inherit from SecondaryObject * src/RelLib/_Note.py: inherit from SecondaryObject * src/RelLib/_Location.py: inherit from SecondaryObject * src/RelLib/_EventRef.py: inherit from SecondaryObject * src/RelLib/_Event.py: inherit from SecondaryObject * src/RelLib/_LdsOrd.py: inherit from SecondaryObject svn: r6720
This commit is contained in:
@@ -29,7 +29,7 @@ Location class for GRAMPS
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from _BaseObject import BaseObject
|
||||
from _SecondaryObject import SecondaryObject
|
||||
from _LocationBase import LocationBase
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@@ -37,7 +37,7 @@ from _LocationBase import LocationBase
|
||||
# Location class for Places
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
class Location(BaseObject,LocationBase):
|
||||
class Location(SecondaryObject,LocationBase):
|
||||
"""
|
||||
Provides information about a place.
|
||||
|
||||
@@ -51,7 +51,7 @@ class Location(BaseObject,LocationBase):
|
||||
Creates a Location object, copying from the source object if it exists.
|
||||
"""
|
||||
|
||||
BaseObject.__init__(self)
|
||||
SecondaryObject.__init__(self)
|
||||
LocationBase.__init__(self,source)
|
||||
if source:
|
||||
self.parish = source.parish
|
||||
|
||||
Reference in New Issue
Block a user