minor bugfix to push to tqo

This commit is contained in:
Richard Hartmann 2015-01-27 18:43:51 +01:00
parent 83b3ab106d
commit 5759b6c698

View file

@ -173,12 +173,13 @@ class PersistentDataStructure(object):
else: else:
oth_key += 1 oth_key += 1
print("{}: number of string keys:".format(prepend, str_key)) print("{}: number of string keys: {}".format(prepend, str_key))
print("{}: number of byte keys:".format(prepend, bin_key)) print("{}: number of byte keys: {}".format(prepend, bin_key))
if oth_key > 0: if oth_key > 0:
print("{}: number of other keys:".format(prepend, oth_key)) print("{}: number of other keys: {}".format(prepend, oth_key))
print("{}: number of subdata: {}".format(prepend, len(self.sub_data_keys))) print("{}: number of subdata: {}".format(prepend, len(self.sub_data_keys)))
print()
sys.stdout.flush()
if recursive: if recursive:
for k in self.sub_data_keys: for k in self.sub_data_keys:
with self.getData(k) as subdata: with self.getData(k) as subdata: