GTG

Merge lp:~h-pawan/gtg/backend_rtm_exception into lp:~gtg/gtg/old-trunk

Proposed by Pawan Hegde
Status: Merged
Merged at revision: 1357
Proposed branch: lp:~h-pawan/gtg/backend_rtm_exception
Merge into: lp:~gtg/gtg/old-trunk
Diff against target: 19 lines (+1/-2)
1 file modified
GTG/backends/backend_rtm.py (+1/-2)
To merge this branch: bzr merge lp:~h-pawan/gtg/backend_rtm_exception
Reviewer Review Type Date Requested Status
Nimit Shah Approve
Review via email: mp+208924@code.launchpad.net

Commit message

Updates to backend_rtm.py to comply with Python 3. Allows the RTM module to get loaded as a backend.

Description of the change

Updates to backend_rtm.py to comply with Python 3. Allows the RTM module to get loaded as a backend.

To post a comment you must log in.
Revision history for this message
Nimit Shah (nimit-svnit) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'GTG/backends/backend_rtm.py'
2--- GTG/backends/backend_rtm.py 2013-11-25 02:37:46 +0000
3+++ GTG/backends/backend_rtm.py 2014-03-01 09:33:09 +0000
4@@ -28,7 +28,6 @@
5 import threading
6 import datetime
7 import subprocess
8-import exceptions
9 from dateutil.tz import tzutc, tzlocal
10
11 from GTG.backends.genericbackend import GenericBackend
12@@ -577,7 +576,7 @@
13 try:
14 if self._login():
15 self.authenticated.set()
16- except exceptions.IOError:
17+ except IOError:
18 BackendSignals().backend_failed(self.get_id(),
19 BackendSignals.ERRNO_NETWORK)
20

Subscribers

People subscribed via source and target branches

to status/vote changes: