Bläddra i källkod

safe_timestamp: arg is always an int

the Item object already does the bigint_to_int decode when accessing .mtime/.atime/.ctime
Thomas Waldmann 8 år sedan
förälder
incheckning
b27cc37e85
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/borg/helpers.py

+ 1 - 1
src/borg/helpers.py

@@ -859,7 +859,7 @@ def safe_ns(ts):
 
 
 def safe_timestamp(item_timestamp_ns):
-    t_ns = safe_ns(bigint_to_int(item_timestamp_ns))
+    t_ns = safe_ns(item_timestamp_ns)
     return datetime.fromtimestamp(t_ns / 1e9)