williballenthin/python-registry — Issue #12: RIRecords do not have the expected _keys_len() method
Author: williballenthin
Created: 2011-10-30 14:25:51+00:00
State: open

Traceback (most recent call last):
File "/home/willi/projects/python-registry/samples/shellbags.py", line 914, in
for shellbag in get_all_shellbags(registry):
File "/home/willi/projects/python-registry/samples/shellbags.py", line 883, in get_all_shellbags
new = get_shellbags(shell_key)
File "/home/willi/projects/python-registry/samples/shellbags.py", line 865, in get_shellbags
shellbag_rec(bagmru_key, "", "")
File "/home/willi/projects/python-registry/samples/shellbags.py", line 819, in shellbag_rec
for bag in bags_key.subkey(str(slot)).subkeys():
File "/usr/local/lib/python2.7/dist-packages/Registry/Registry.py", line 217, in subkey
for k in self._nkrecord.subkey_list().keys():
File "/usr/local/lib/python2.7/dist-packages/Registry/RegistryParse.py", line 858, in keys
for _ in range(0, self._keys_len()):
AttributeError: 'RIRecord' object has no attribute '_keys_len'