mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-11 07:25:47 +08:00
Reformat file with black
This commit is contained in:
parent
a2582bebf7
commit
ee49d09b3a
1 changed files with 2 additions and 4 deletions
|
@ -150,9 +150,7 @@ class ResticRunner:
|
|||
Unsets repository & password environment, we don't need to keep that data when not requested
|
||||
"""
|
||||
os.environ["RESTIC_PASSWORD"] = "o_O"
|
||||
os.environ["RESTIC_REPOSITORY"] = (
|
||||
self.repository_anonymous
|
||||
)
|
||||
os.environ["RESTIC_REPOSITORY"] = self.repository_anonymous
|
||||
|
||||
for env_variable in self.environment_variables.keys():
|
||||
os.environ[env_variable] = "__ooOO(° °)OOoo__"
|
||||
|
@ -261,7 +259,7 @@ class ResticRunner:
|
|||
@property
|
||||
def executor_running(self) -> bool:
|
||||
return self._executor_running
|
||||
|
||||
|
||||
@property
|
||||
def repository_anonymous(self):
|
||||
if self.repository:
|
||||
|
|
Loading…
Add table
Reference in a new issue