Browse Source

remove needless use of self

Antoine Beaupré 9 years ago
parent
commit
5a1680397c
1 changed files with 4 additions and 2 deletions
  1. 4 2
      borg/testsuite/convert.py

+ 4 - 2
borg/testsuite/convert.py

@@ -87,7 +87,8 @@ class AtticRepositoryConverter(Repository):
         with pytest.raises(NotImplementedException):
             self.convert_cache()
 
-    def convert_segments(self, segments):
+    @staticmethod
+    def convert_segments(segments):
         '''convert repository segments from attic to borg
 
         replacement pattern is `s/ATTICSEG/BORG_SEG/` in files in
@@ -120,7 +121,8 @@ class AtticRepositoryConverter(Repository):
         implementation.'''
         return AtticKeyfileKey.find_key_file(self)
 
-    def convert_keyfiles(self, keyfile):
+    @staticmethod
+    def convert_keyfiles(keyfile):
 
         '''convert key files from attic to borg