Changeset 217 for trunk/python/pyregfi
- Timestamp:
- 03/30/11 00:13:38 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/pyregfi/__init__.py
r216 r217 329 329 330 330 def is_root(self): 331 # This is quicker than retrieving the root key for comparison and 332 # is more trustworthy than trusting the key's flags. 333 return ((self._hive.root_cell+REGFI_REGF_SIZE) == self.offset) 331 return (self._hive.get_root() == self) 334 332 335 333
Note: See TracChangeset
for help on using the changeset viewer.