2007-12-10 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/lib/notebase.py: change comment string * src/gen/lib/person.py: change comment string * src/gen/lib/event.py: add attr to list of sec objects, bug #1318 svn: r9481
This commit is contained in:
		@@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					2007-12-10 Benny Malengier <benny.malengier@gramps-project.org>
 | 
				
			||||||
 | 
						* src/gen/lib/notebase.py: change comment string
 | 
				
			||||||
 | 
						* src/gen/lib/person.py: change comment string
 | 
				
			||||||
 | 
						* src/gen/lib/event.py: add attr to list of sec objects, bug #1318
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2007-12-10  Zdenek Hatas  <zdenek.hatas@gmail.com>
 | 
					2007-12-10  Zdenek Hatas  <zdenek.hatas@gmail.com>
 | 
				
			||||||
	* src/DateHandler/_Date_cs.py: czech datehandler added
 | 
						* src/DateHandler/_Date_cs.py: czech datehandler added
 | 
				
			||||||
	* src/DateHandler/__init__.py: czech datehandler included
 | 
						* src/DateHandler/__init__.py: czech datehandler included
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -220,7 +220,7 @@ class Event(SourceBase, NoteBase, MediaBase, AttributeBase,
 | 
				
			|||||||
        @return: Returns the list of objects refereincing primary objects.
 | 
					        @return: Returns the list of objects refereincing primary objects.
 | 
				
			||||||
        @rtype: list
 | 
					        @rtype: list
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        return self.media_list + self.source_list
 | 
					        return self.get_sourcref_child_list() + self.source_list
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def is_empty(self):
 | 
					    def is_empty(self):
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -35,7 +35,7 @@ class NoteBase:
 | 
				
			|||||||
    """
 | 
					    """
 | 
				
			||||||
    Base class for storing notes.
 | 
					    Base class for storing notes.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Starting in 2.3 branch, the objects may have multiple notes.
 | 
					    Starting in 3.0 branch, the objects may have multiple notes.
 | 
				
			||||||
    Internally, this class maintains a list of Note handles,
 | 
					    Internally, this class maintains a list of Note handles,
 | 
				
			||||||
    as a note_list attribute of the NoteBase object.
 | 
					    as a note_list attribute of the NoteBase object.
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -350,6 +350,7 @@ class Person(SourceBase, NoteBase, AttributeBase, MediaBase,
 | 
				
			|||||||
        @return: Returns the list of objects refereincing primary objects.
 | 
					        @return: Returns the list of objects refereincing primary objects.
 | 
				
			||||||
        @rtype: list
 | 
					        @rtype: list
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
 | 
					        #don't count double, notes can be found in sourcref
 | 
				
			||||||
        return self.get_sourcref_child_list() + self.source_list \
 | 
					        return self.get_sourcref_child_list() + self.source_list \
 | 
				
			||||||
               + self.event_ref_list
 | 
					               + self.event_ref_list
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user