Skip to content

Commit 8bc8d13

Browse files
author
Willi Ballenthin
committed
*: fix whitespace
1 parent f99049c commit 8bc8d13

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

Registry/Registry.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,10 @@ def value(self, overrun=0):
224224

225225
def raw_data(self, overrun=0):
226226
return self._vkrecord.raw_data(overrun)
227-
227+
228228
def timestamp(self):
229229
"""
230-
Get the last modified timestamp as a Python datetime. Only valid for
230+
Get the last modified timestamp as a Python datetime. Only valid for
231231
AppContainer settings.dat reg hive
232232
"""
233233
return self._vkrecord.timestamp()
@@ -355,13 +355,13 @@ def find_key(self, path):
355355

356356
(immediate, _, future) = path.partition("\\")
357357
return self.subkey(immediate).find_key(future)
358-
358+
359359
def values_number(self):
360360
"""
361361
Return the number of values associated with this key
362362
"""
363363
return self._nkrecord.values_number()
364-
364+
365365
def subkeys_number(self):
366366
"""
367367
Return the number of subkeys associated with this key

Registry/RegistryParse.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -945,12 +945,12 @@ def __str__(self):
945945
data = "(binary)"
946946
elif data_type in (RegFileTime, RegDateTimeOffset):
947947
data = self.data().isoformat("T") + "Z"
948-
elif data_type in (RegUint8, RegInt16, RegUint16, RegInt32, RegUint32,
949-
RegInt64, RegUint64, RegFloat, RegDouble, RegUnicodeChar,
950-
RegBoolean, RegUnicodeString, RegCompositeValue,
951-
RegTimeSpan, RegGUID, RegUnk111, RegUnk112, RegUnk113, RegBytesArray,
952-
RegInt16Array, RegUint16Array, RegInt32Array, RegUInt32Array,
953-
RegInt64Array, RegUInt64Array, RegFloatArray, RegDoubleArray,
948+
elif data_type in (RegUint8, RegInt16, RegUint16, RegInt32, RegUint32,
949+
RegInt64, RegUint64, RegFloat, RegDouble, RegUnicodeChar,
950+
RegBoolean, RegUnicodeString, RegCompositeValue,
951+
RegTimeSpan, RegGUID, RegUnk111, RegUnk112, RegUnk113, RegBytesArray,
952+
RegInt16Array, RegUint16Array, RegInt32Array, RegUInt32Array,
953+
RegInt64Array, RegUInt64Array, RegFloatArray, RegDoubleArray,
954954
RegUnicodeCharArray, RegBooleanArray, RegUnicodeStringArray):
955955
data = str(self.data())
956956
else:

0 commit comments

Comments
 (0)