diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-08-29 12:29:30 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-08-29 12:29:30 +0300 |
commit | 6a1e6f4949171272a74bbc6f470850be6f3ea89e (patch) | |
tree | 81946a5843fc8b65ea3426df0f55c78f83ba5a0f | |
parent | e9ab4641d331f458508b2f30275af4fb42c2b8b0 (diff) | |
download | obnam-6a1e6f4949171272a74bbc6f470850be6f3ea89e.tar.gz |
Let logging.debug do string formatting itself
-rw-r--r-- | obnamlib/plugins/force_lock_plugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/obnamlib/plugins/force_lock_plugin.py b/obnamlib/plugins/force_lock_plugin.py index e688043d..85995bec 100644 --- a/obnamlib/plugins/force_lock_plugin.py +++ b/obnamlib/plugins/force_lock_plugin.py @@ -38,7 +38,7 @@ class ForceLockPlugin(obnamlib.ObnamPlugin): repourl = self.app.settings['repository'] client_name = self.app.settings['client-name'] logging.info('Forcing lock') - logging.info('Repository: %s' % repourl) + logging.info('Repository: %s', repourl) try: repo = self.app.get_repository_object() @@ -66,8 +66,8 @@ class ForceLockPlugin(obnamlib.ObnamPlugin): repourl = self.app.settings['repository'] client_name = self.app.settings['client-name'] logging.info('Creating lock') - logging.info('Repository: %s' % repourl) - logging.info('Client: %s' % client_name) + logging.info('Repository: %s', repourl) + logging.info('Client: %s', client_name) try: repo = self.app.get_repository_object() |