Changeset 272 for trunk/python


Ignore:
Timestamp:
07/14/11 14:06:31 (13 years ago)
Author:
tim
Message:

fixed name/flags bug
improved error reporting on bad key/value names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/pyregfi/__init__.py

    r271 r272  
    723723
    724724        elif name == "name_encoding":
    725             flags = super(Key, self).__getattr__("flags")
     725            flags = super(Value, self).__getattr__("flags")
    726726            if (flags & structures.REGFI_VK_FLAG_ASCIINAME) > 0:
    727727                ret_val = "ascii"
Note: See TracChangeset for help on using the changeset viewer.