remove some debug print statements
svn: r9073
This commit is contained in:
parent
82042ed16e
commit
5183394480
@ -658,9 +658,6 @@ class CheckIntegrity:
|
|||||||
def _check_empty(self, data, empty_data, changepos):
|
def _check_empty(self, data, empty_data, changepos):
|
||||||
"""compare the data with the data of an empty object
|
"""compare the data with the data of an empty object
|
||||||
change, handle and gramps_id are not compared """
|
change, handle and gramps_id are not compared """
|
||||||
print 'checking'
|
|
||||||
print data
|
|
||||||
print empty_data
|
|
||||||
if changepos is not None:
|
if changepos is not None:
|
||||||
return (data[2:changepos] == empty_data[2:changepos] and
|
return (data[2:changepos] == empty_data[2:changepos] and
|
||||||
data[changepos+1:] == empty_data[changepos+1:]
|
data[changepos+1:] == empty_data[changepos+1:]
|
||||||
@ -668,7 +665,6 @@ class CheckIntegrity:
|
|||||||
else :
|
else :
|
||||||
return data[2:] == empty_data[2:]
|
return data[2:] == empty_data[2:]
|
||||||
|
|
||||||
|
|
||||||
def cleanup_empty_families(self,automatic):
|
def cleanup_empty_families(self,automatic):
|
||||||
|
|
||||||
fhandle_list = self.db.get_family_handles()
|
fhandle_list = self.db.get_family_handles()
|
||||||
@ -1018,7 +1014,6 @@ class CheckIntegrity:
|
|||||||
+ len(self.empty_objects['places'])
|
+ len(self.empty_objects['places'])
|
||||||
+ len(self.empty_objects['repos'])
|
+ len(self.empty_objects['repos'])
|
||||||
)
|
)
|
||||||
print 'empty objs:',empty_objs
|
|
||||||
|
|
||||||
errors = (photos + efam + blink + plink + slink + rel
|
errors = (photos + efam + blink + plink + slink + rel
|
||||||
+ event_invalid + person
|
+ event_invalid + person
|
||||||
|
Loading…
x
Reference in New Issue
Block a user