Changeset 270 for trunk/python
- Timestamp:
- 07/11/11 11:56:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/pyregfi/__init__.py
r268 r270 712 712 713 713 def __getattr__(self, name): 714 ret_val = super(Value, self).__getattr__(name)715 714 if name == "name": 715 ret_val = super(Value, self).__getattr__(name) 716 716 if not ret_val: 717 717 ret_val = self.name_raw … … 728 728 729 729 elif name == "name_raw": 730 ret_val = super(Value, self).__getattr__(name) 730 731 length = super(Value, self).__getattr__('name_length') 731 732 ret_val = _buffer2bytearray(ret_val, length)
Note: See TracChangeset
for help on using the changeset viewer.