mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-29 03:06:12 +00:00
remove needless use of self
This commit is contained in:
parent
aa25a217a4
commit
5a1680397c
1 changed files with 4 additions and 2 deletions
|
@ -87,7 +87,8 @@ def convert(self):
|
||||||
with pytest.raises(NotImplementedException):
|
with pytest.raises(NotImplementedException):
|
||||||
self.convert_cache()
|
self.convert_cache()
|
||||||
|
|
||||||
def convert_segments(self, segments):
|
@staticmethod
|
||||||
|
def convert_segments(segments):
|
||||||
'''convert repository segments from attic to borg
|
'''convert repository segments from attic to borg
|
||||||
|
|
||||||
replacement pattern is `s/ATTICSEG/BORG_SEG/` in files in
|
replacement pattern is `s/ATTICSEG/BORG_SEG/` in files in
|
||||||
|
@ -120,7 +121,8 @@ def find_attic_keyfile(self):
|
||||||
implementation.'''
|
implementation.'''
|
||||||
return AtticKeyfileKey.find_key_file(self)
|
return AtticKeyfileKey.find_key_file(self)
|
||||||
|
|
||||||
def convert_keyfiles(self, keyfile):
|
@staticmethod
|
||||||
|
def convert_keyfiles(keyfile):
|
||||||
|
|
||||||
'''convert key files from attic to borg
|
'''convert key files from attic to borg
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue