summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2021-10-10 11:30:14 +0200
committerxengineering <me@xengineering.eu>2021-10-10 11:30:14 +0200
commita16f53af407ac95c76478761cd5a1180988d0207 (patch)
tree1cd934c84bd3b58a472252c24aea71e954e9e21a
parent025831b90387a96d622fd92af08984ab1c27b7cd (diff)
downloadxbackup-a16f53af407ac95c76478761cd5a1180988d0207.tar
xbackup-a16f53af407ac95c76478761cd5a1180988d0207.tar.zst
xbackup-a16f53af407ac95c76478761cd5a1180988d0207.zip
Improvements with pylint
-rw-r--r--src/xbackup/backup.py2
-rw-r--r--src/xbackup/prune.py3
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)