summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-08-29 12:58:44 +0300
committerLars Wirzenius <liw@liw.fi>2015-08-29 12:58:44 +0300
commit43c8f1a4ac99d1d33fc165c05d4cd05bd6e7a786 (patch)
treee0bfa267317eda821bdd2426e5ee71ebccc26859
parent38e4edc59fab06873df52c174b26cfd2f1bfef5d (diff)
downloadobnam-43c8f1a4ac99d1d33fc165c05d4cd05bd6e7a786.tar.gz
Make logging function do string formatting
-rw-r--r--obnamlib/plugins/one_file_system_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/plugins/one_file_system_plugin.py b/obnamlib/plugins/one_file_system_plugin.py
index 71315795..94101b8d 100644
--- a/obnamlib/plugins/one_file_system_plugin.py
+++ b/obnamlib/plugins/one_file_system_plugin.py
@@ -43,5 +43,5 @@ class OneFileSystemPlugin(obnamlib.ObnamPlugin):
exclude = kwargs['exclude']
if st.st_dev != root_metadata.st_dev:
- logging.debug('Excluding (one-file-system): %s' % pathname)
+ logging.debug('Excluding (one-file-system): %s', pathname)
exclude[0] = True