removing typo error
authorEduardo Robles Elvira <edulix@wadobo.com>
Fri, 9 Aug 2013 13:28:40 +0000 (15:28 +0200)
committerEduardo Robles Elvira <edulix@wadobo.com>
Fri, 9 Aug 2013 13:28:40 +0000 (15:28 +0200)
testing/test_deltatar.py

index 95c0b85..87df94b 100644 (file)
@@ -205,7 +205,7 @@ class DeltaTarTest(BaseTest):
         index_path = os.path.join("backup_dir", index_filename)
 
         # this should automatically restore the huge file
-        f = deltatar.open_index(index_path, mode='r')
+        f = deltatar.open_index(index_path, 'r')
         for l in f.readline():
             data = json.loads(f.readline())
             if data.get('type', '') == 'file' and\
@@ -1116,4 +1116,3 @@ class DeltaTarGzipAes256ConcatTest(DeltaTarTest):
     '''
     MODE = '#gz.aes256'
     PASSWORD = 'some magic key'
-1
\ No newline at end of file