diff options
-rw-r--r-- | src/xbackup/backup.py | 2 | ||||
-rw-r--r-- | src/xbackup/prune.py | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/xbackup/backup.py b/src/xbackup/backup.py index 8b7ee78..7744e42 100644 --- a/src/xbackup/backup.py +++ b/src/xbackup/backup.py @@ -10,8 +10,6 @@ This module contains the backup functionality of xbackup. import os -import sys -import subprocess from xbackup.utils import POSITIVE_ANSWERS,shell diff --git a/src/xbackup/prune.py b/src/xbackup/prune.py index 7b41b03..79216a3 100644 --- a/src/xbackup/prune.py +++ b/src/xbackup/prune.py @@ -9,7 +9,6 @@ This module contains the pruning functionality of xbackup. import os -import sys from xbackup.utils import POSITIVE_ANSWERS,shell @@ -45,6 +44,6 @@ def prune(backup_cfg, prune_cfg, scripted): answer = input(text) if answer not in POSITIVE_ANSWERS: return - + # execute pruning shell(cmd, panic=True) |