summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrent s <r00t@square-r00t.net>2019-06-02 19:23:16 -0400
committerbrent s <r00t@square-r00t.net>2019-06-02 19:23:16 -0400
commit76c898588fdd9621bd5622a6ce8588cf88bd7595 (patch)
tree8d1c769a1718ceb0bf0d6c08480689a950f2cf63
parent7dd42eaf4dca5ae665ed6bce8ec4f5a7675d227a (diff)
downloadOpTools-76c898588fdd9621bd5622a6ce8588cf88bd7595.tar.xz
gorram it
-rwxr-xr-xstorage/backups/borg/backup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/backups/borg/backup.py b/storage/backups/borg/backup.py
index 4642285..be8eb7e 100755
--- a/storage/backups/borg/backup.py
+++ b/storage/backups/borg/backup.py
@@ -273,7 +273,7 @@ class Backup(object):
import importlib
_orig_path = sys.path
for plugin in repo['plugins']:
- self.logging.debug('Initializing plugin: {0}'.format(plugin))
+ self.logger.debug('Initializing plugin: {0}'.format(plugin))
if repo['plugins'][plugin]['path']:
sys.path.insert(1, os.path.abspath(os.path.expanduser(repo['plugins'][plugin]['path'])))
optools_tmpmod = importlib.import_module(plugin, package = None)
@@ -284,7 +284,7 @@ class Backup(object):
del(sys.modules[plugin])
del(optools_tmpmod)
sys.path = _orig_path
- self.logging.debug('Finished plugin: {0}'.format(plugin))
+ self.logger.debug('Finished plugin: {0}'.format(plugin))
# This is where we actually do the thing.
_cmd = [self.borgbin,
'--log-json',