Add get_pathinfo.
authorDaira Hopwood <daira@jacaranda.org>
Mon, 28 Dec 2015 20:07:55 +0000 (20:07 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 5 Feb 2016 22:13:37 +0000 (22:13 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/scripts/backupdb.py

index e859597cffc0a5508c44eba5d658d68a2a045869..33aa952e60dae5000b29519239f8362b3cf9ae8e 100644 (file)
@@ -174,7 +174,7 @@ class BackupDB_v2:
 
         path = abspath_expanduser_unicode(path)
 
-        # XXX consider using get_pathinfo
+        # TODO: consider using get_pathinfo.
         s = os.stat(path)
         size = s[stat.ST_SIZE]
         ctime = s[stat.ST_CTIME]