diff options
author | Sascha Silbe <sascha@silbe.org> | 2009-08-19 17:37:40 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha@silbe.org> | 2009-08-24 18:47:16 (GMT) |
commit | 313303aa93371463fcc184d637d7637183418833 (patch) | |
tree | beb6f282a9bbbb0037007a0d9095e35748a04e97 /src/jarabe/frame/clipboardpanelwindow.py | |
parent | c2620c745dc54cbf4d44846574f30652e812c2aa (diff) |
let the logger do the formatting
Diffstat (limited to 'src/jarabe/frame/clipboardpanelwindow.py')
-rw-r--r-- | src/jarabe/frame/clipboardpanelwindow.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jarabe/frame/clipboardpanelwindow.py b/src/jarabe/frame/clipboardpanelwindow.py index 7093199..7d08d32 100644 --- a/src/jarabe/frame/clipboardpanelwindow.py +++ b/src/jarabe/frame/clipboardpanelwindow.py @@ -63,10 +63,10 @@ class ClipboardPanelWindow(FrameWindow): for target in targets: if target not in ('TIMESTAMP', 'TARGETS', 'MULTIPLE', 'SAVE_TARGETS'): - logging.debug('Asking for target %s.' % target) + logging.debug('Asking for target %s.', target) selection = x_clipboard.wait_for_contents(target) if not selection: - logging.warning('no data for selection target %s.' % target) + logging.warning('no data for selection target %s.', target) continue self._add_selection(key, selection) @@ -74,7 +74,7 @@ class ClipboardPanelWindow(FrameWindow): def _add_selection(self, key, selection): if not selection.data: - logging.warning('no data for selection target %s.' % selection.type) + logging.warning('no data for selection target %s.', selection.type) return logging.debug('adding type ' + selection.type + '.') |