summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing/commontest.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-02-12 07:28:33 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-02-12 07:28:33 +0000
commitadc9d7a9a9cd90c8d078b1276cfdad98d0303d07 (patch)
treeafa49da6e1ebc85a0d16aad52591e55bda0c70f2 /rdiff-backup/testing/commontest.py
parent9613406fbab1949f66fe7858590cab990c7b4b25 (diff)
downloadrdiff-backup-adc9d7a9a9cd90c8d078b1276cfdad98d0303d07.tar.gz
Fixed selection bug, renamed metadata files to ".snapshot"
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@278 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing/commontest.py')
-rw-r--r--rdiff-backup/testing/commontest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdiff-backup/testing/commontest.py b/rdiff-backup/testing/commontest.py
index 1e6fa82..57aad7b 100644
--- a/rdiff-backup/testing/commontest.py
+++ b/rdiff-backup/testing/commontest.py
@@ -157,7 +157,7 @@ def get_increment_rp(mirror_rp, time):
for filename in data_rp.listdir():
rp = data_rp.append(filename)
if rp.isincfile() and rp.getincbase_str() == "increments":
- if Time.stringtotime(rp.getinctime()) == time: return rp
+ if rp.getinctime() == time: return rp
return None # Couldn't find appropriate increment
def _reset_connections(src_rp, dest_rp):