RIRecords do not have the expected _keys_len() method #12

williballenthin opened this Issue Oct 30, 2011 · 0 comments

1 participant


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'

@williballenthin williballenthin added a commit that closed this issue Oct 30, 2011
@williballenthin fix RIRecord parsing.
Closes #12.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment