Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/extensions/cpsection/updater
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/cpsection/updater')
-rw-r--r--extensions/cpsection/updater/backends/aslo.py3
-rwxr-xr-xextensions/cpsection/updater/model.py4
2 files changed, 3 insertions, 4 deletions
diff --git a/extensions/cpsection/updater/backends/aslo.py b/extensions/cpsection/updater/backends/aslo.py
index 8c01ec2..443fd1c 100644
--- a/extensions/cpsection/updater/backends/aslo.py
+++ b/extensions/cpsection/updater/backends/aslo.py
@@ -116,8 +116,7 @@ class _UpdateFetcher(object):
if document.find(_FIND_DESCRIPTION) is None:
logging.debug('Bundle %s not available in the server for the '
- 'version %s' % (self._bundle.get_bundle_id(),
- config.version))
+ 'version %s', self._bundle.get_bundle_id(), config.version)
version = None
link = None
size = None
diff --git a/extensions/cpsection/updater/model.py b/extensions/cpsection/updater/model.py
index 489cfa5..102edea 100755
--- a/extensions/cpsection/updater/model.py
+++ b/extensions/cpsection/updater/model.py
@@ -119,7 +119,7 @@ class UpdateModel(gobject.GObject):
self._downloader.connect('error', self.__downloader_error_cb)
def __downloader_progress_cb(self, downloader, progress):
- logging.debug('__downloader_progress_cb %r' % progress)
+ logging.debug('__downloader_progress_cb %r', progress)
total = self._total_bundles_to_update * 2
current = total - len(self._bundles_to_update) * 2 - 2 + progress
@@ -133,7 +133,7 @@ class UpdateModel(gobject.GObject):
self._downloader = None
def __downloader_error_cb(self, downloader, error_message):
- logging.error('Error downloading update:\n%s' % error_message)
+ logging.error('Error downloading update:\n%s', error_message)
total = self._total_bundles_to_update * 2
current = total - len(self._bundles_to_update) * 2