Changeset 256 for trunk/python


Ignore:
Timestamp:
06/15/11 18:05:37 (13 years ago)
Author:
tim
Message:

switched to %XX encoding in command line tool output

fixed limitation with NULL/None/(default) value name lookups

corrected an nttime bug

Location:
trunk/python/pyregfi
Files:
2 edited

Legend:

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

    r255 r256  
    509509       
    510510        elif name == "modified":
    511             ret_val = regfi.regfi_nt2unix_time(byref(self._base.contents.mtime))
     511            ret_val = regfi.regfi_nt2unix_time(self._base.contents.mtime)
    512512
    513513        else:
     
    764764
    765765        elif name == "modified":
    766             return regfi.regfi_nt2unix_time(byref(self._base.contents.mtime))
     766            return regfi.regfi_nt2unix_time(self._base.contents.mtime)
    767767
    768768        return getattr(self.file.contents, name)
  • trunk/python/pyregfi/structures.py

    r255 r256  
    279279
    280280regfi.regfi_find_value.argtypes = [POINTER(REGFI_FILE), POINTER(REGFI_NK),
    281                                     c_char_p, POINTER(c_uint32)]
     281                                   c_char_p, POINTER(c_uint32)]
    282282regfi.regfi_find_value.restype = c_bool
    283283
     
    287287
    288288regfi.regfi_get_value.argtypes = [POINTER(REGFI_FILE), POINTER(REGFI_NK),
    289                                    c_uint32]
     289                                  c_uint32]
    290290regfi.regfi_get_value.restype = POINTER(REGFI_VK)
    291291
Note: See TracChangeset for help on using the changeset viewer.