[postr] Fix typo in error logging in Twisted callback
- From: Germán Poó Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [postr] Fix typo in error logging in Twisted callback
- Date: Thu, 17 Apr 2014 00:39:54 +0000 (UTC)
commit 48b510f1b2eb4a903603a4293d6b5c8af8f29ac0
Author: Bruce Guenter <bruce untroubled org>
Date: Sun Apr 13 14:07:04 2014 -0600
Fix typo in error logging in Twisted callback
self.log.err is undefined, should have read simply log.err
src/postr.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/postr.py b/src/postr.py
index b6f4be2..5418edd 100644
--- a/src/postr.py
+++ b/src/postr.py
@@ -1149,7 +1149,7 @@ class Postr(UniqueApp):
d.addErrback(log.err)
else:
d.addCallbacks(self.upload, self.upload_error)
- d.addErrback(self.log.err)
+ d.addErrback(log.err)
self.upload_progress_tracker.complete_extra_step(EXTRA_STEP_NEW_SET)
def create_photoset_then_continue(self, rsp, photoset_name):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]