Merge lp:~sense/gwibber/logger-calls-typos into lp:gwibber

Proposed by Sense Egbert Hofstede
Status: Merged
Merge reported by: Ken VanDine
Merged at revision: not available
Proposed branch: lp:~sense/gwibber/logger-calls-typos
Merge into: lp:gwibber
Diff against target: 16 lines (+2/-2)
1 file modified
gwibber/microblog/dispatcher.py (+2/-2)
To merge this branch: bzr merge lp:~sense/gwibber/logger-calls-typos
Reviewer Review Type Date Requested Status
gwibber-committers Pending
Review via email: mp+19719@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Sense Egbert Hofstede (sense) wrote :

This changes two lines of code in gwibber/microblog/dispatcher.py where the not-imported 'logging' module was called directly, intead of the Gwibber logger implementation, with the local variable of 'log.logger'.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'gwibber/microblog/dispatcher.py'
2--- gwibber/microblog/dispatcher.py 2010-02-17 20:53:24 +0000
3+++ gwibber/microblog/dispatcher.py 2010-02-19 15:59:14 +0000
4@@ -270,10 +270,10 @@
5 print_exc()
6
7 def handle_focus_reply(self, *args):
8- logging.error("Failed to raise client %s", args)
9+ log.logger.error("Failed to raise client %s", args)
10
11 def handle_focus_error(self, *args):
12- logging.error("Failed to raise client %s", args)
13+ log.logger.error("Failed to raise client %s", args)
14
15 def new_message(self, message):
16 min_time = mx.DateTime.DateTimeFromTicks() - mx.DateTime.TimeDelta(minutes=10.0)