gedcom-x 0.5__py3-none-any.whl → 0.5.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gedcom-x
3
- Version: 0.5
3
+ Version: 0.5.1
4
4
  Summary: Python implimentation of gedcom-x standard
5
5
  Author-email: "David J. Cartwright" <davidcartwright@hotmail.com>
6
6
  License: MIT
@@ -8,7 +8,7 @@ gedcomx/Document.py,sha256=F04hRAddU5OmwAeULbXJRRAPh5CJIzeaaxFK6TI48d0,1850
8
8
  gedcomx/Event.py,sha256=qZNGEYdS3jmKI0fnw1DM5zETTw7Du07A_1tr3sc02-w,9538
9
9
  gedcomx/EvidenceReference.py,sha256=8LNyfnjLmXt4RbOHpRyw-VHyD2CCm33pPYuYqWIaxtg,333
10
10
  gedcomx/Fact.py,sha256=7UVDiimuF8LJG7ASqVdCLKed1YWqb4YhAANI0KJLwdA,23682
11
- gedcomx/Gedcom.py,sha256=Dn0I8SInN1K_Q_K2CAzZYX1Zer3TwGaNlw5J4rJj688,12692
11
+ gedcomx/Gedcom.py,sha256=VbPws7O0FhkvdbDQKOb_nGP0CYjS9bXxWsQkvjzQqO8,12723
12
12
  gedcomx/GedcomX.py,sha256=bWNeBPxFGaVeTIbHgyEzrefk6rwq-XzI3VOkxsrp5aw,50225
13
13
  gedcomx/Gender.py,sha256=98__1lMIdGLfMmUSh5jrqQ0SwQzN1xedgMiW9Gpabko,1720
14
14
  gedcomx/Group.py,sha256=ayp3wZEnR8vSuPwe-KfeH8MM0uQ3HJH8NGRnHDPV58M,1586
@@ -31,7 +31,7 @@ gedcomx/TopLevelTypeCollection.py,sha256=nvTO6GwFwEZk9jX4fVqhy75ygsshomNb20tnlEx
31
31
  gedcomx/URI.py,sha256=OUSCFA7oOtJ7Ya4mTJFoJawq0bZt8BDg8masb9XX-cY,2143
32
32
  gedcomx/_Resource.py,sha256=JqtbinRXpt6dLUXUtqGCZ2WmcYmGRzqXmjaw8YPpnYE,242
33
33
  gedcomx/__init__.py,sha256=brX-pkFLY5owEk1CKnArX5qXlpTu9PTu0mG_VG12ox4,1362
34
- gedcom_x-0.5.dist-info/METADATA,sha256=m_ewdjTzhhU2JSxpZvKT2LI_Dopam9Kbdt2X_GVPtiA,631
35
- gedcom_x-0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
36
- gedcom_x-0.5.dist-info/top_level.txt,sha256=smVBF4nxSU-mzCd6idtRYTbYjPICMMi8pTqewEmqF8Y,8
37
- gedcom_x-0.5.dist-info/RECORD,,
34
+ gedcom_x-0.5.1.dist-info/METADATA,sha256=r5gGfymgiW3lrAPdFVKA8ZkS8vGCs1lRNxxMvujR3RQ,633
35
+ gedcom_x-0.5.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
36
+ gedcom_x-0.5.1.dist-info/top_level.txt,sha256=smVBF4nxSU-mzCd6idtRYTbYjPICMMi8pTqewEmqF8Y,8
37
+ gedcom_x-0.5.1.dist-info/RECORD,,
gedcomx/Gedcom.py CHANGED
@@ -76,7 +76,8 @@ class GedcomRecord():
76
76
  return record_dump
77
77
 
78
78
  def describe(self,subRecords: bool = False):
79
- description = f"Line {self.line_num}: {'\t'* self.level} Level: {self.level}, tag: '{self.tag}', value: '{self.value}', subRecords: {len(self._subRecords)}"
79
+ level_str = '\t'* self.level
80
+ description = f"Line {self.line_num}: {level_str} Level: {self.level}, tag: '{self.tag}', value: '{self.value}', subRecords: {len(self._subRecords)}"
80
81
  if subRecords:
81
82
  for subRecord in self.subRecords():
82
83
  description = description + '\n' + subRecord.describe(subRecords=True)