summaryrefslogtreecommitdiff
path: root/bupper/exceptions.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-02-15 11:05:43 +0100
committerAnton Khirnov <anton@khirnov.net>2020-02-15 11:05:43 +0100
commit00bf9f3eafff6f29b4fcf18d7c1f2ab2b1310c16 (patch)
treeb5430fa827e48b6e42e3f49a1b4e188675bef6d3 /bupper/exceptions.py
parent1c33c917bbcad2924bb722f77c7aaa4f511a299c (diff)
Rename bupper to lbup.
bupper already exists. lbup is a randomly chosen word containing bup
Diffstat (limited to 'bupper/exceptions.py')
-rw-r--r--bupper/exceptions.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/bupper/exceptions.py b/bupper/exceptions.py
deleted file mode 100644
index 69201ef..0000000
--- a/bupper/exceptions.py
+++ /dev/null
@@ -1,14 +0,0 @@
-class BackupException(Exception):
- pass
-
-class RemoteExecException(BackupException):
- retcode = None
- output = None
- def __init__(self, explanation, retcode, output):
- super().__init__(explanation)
- self.retcode = retcode
- self.output = output
-
- def __str__(self):
- return (super().__str__() +
- ';%d: %s' % (self.retcode, self.output.decode('utf-8', errors = 'backslashreplace')))