From 5a1680397c571ad2f42e731d4835b7f2f356aa55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Wed, 30 Sep 2015 23:02:21 -0400 Subject: [PATCH] remove needless use of self --- borg/testsuite/convert.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/borg/testsuite/convert.py b/borg/testsuite/convert.py index f4b8bd3db..9d5f95142 100644 --- a/borg/testsuite/convert.py +++ b/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