From f0ee73e63f7f836b8108373884607273e6accb7e Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Tue, 11 Sep 2018 23:50:20 +0000 Subject: [PATCH] storage: remove broken default parameter from isodate() With that syntax, the default timestamp would have been from the time of the function's definition (not invocation). But all callers are passing an explicit timestamp anyway. --- qubes/storage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/storage/__init__.py b/qubes/storage/__init__.py index b8e5f5b2..59d0d210 100644 --- a/qubes/storage/__init__.py +++ b/qubes/storage/__init__.py @@ -874,7 +874,7 @@ def driver_parameters(name): return [p for p in params if p not in ignored_params] -def isodate(seconds=time.time()): +def isodate(seconds): ''' Helper method which returns an iso date ''' return datetime.utcfromtimestamp(seconds).isoformat("T")