]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python: Reformat nt_time.py
authorJo Sutton <josutton@catalyst.net.nz>
Fri, 2 Feb 2024 00:11:22 +0000 (13:11 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 16 Feb 2024 02:41:36 +0000 (02:41 +0000)
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/nt_time.py

index 4518e90b158d13efbc2ecfc050bf2d2bfd902168..7a6417ecaaa5405e30dcdd8d9879ca464e9c9c13 100644 (file)
@@ -25,9 +25,7 @@ NtTime = NewType("NtTime", int)
 NtTimeDelta = NewType("NtTimeDelta", int)
 
 
-NT_EPOCH = datetime.datetime(
-    1601, 1, 1, 0, 0, 0, 0, tzinfo=datetime.timezone.utc
-)
+NT_EPOCH = datetime.datetime(1601, 1, 1, 0, 0, 0, 0, tzinfo=datetime.timezone.utc)
 NT_TICKS_PER_μSEC = 10
 NT_TICKS_PER_SEC = NT_TICKS_PER_μSEC * 10**6