Merge lp:~alecu/ubuntuone-client/add-simple-zeitgeist into lp:ubuntuone-client
Proposed by
Alejandro J. Cura
Status: | Merged |
---|---|
Approved by: | John Lenton |
Approved revision: | 755 |
Merged at revision: | 764 |
Proposed branch: | lp:~alecu/ubuntuone-client/add-simple-zeitgeist |
Merge into: | lp:ubuntuone-client |
Diff against target: |
277 lines (+235/-2) 6 files modified
tests/eventlog/__init__.py (+14/-0) tests/eventlog/test_zglog.py (+155/-0) tests/syncdaemon/__init__.py (+1/-1) ubuntuone/eventlog/__init__.py (+16/-0) ubuntuone/eventlog/zglog.py (+48/-0) ubuntuone/syncdaemon/__init__.py (+1/-1) |
To merge this branch: | bzr merge lp:~alecu/ubuntuone-client/add-simple-zeitgeist |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John Lenton (community) | Approve | ||
Natalia Bidart (community) | Approve | ||
Review via email: mp+41667@code.launchpad.net |
Commit message
A twisted class to log zeitgeist events
Description of the change
A twisted class to log zeitgeist events
To post a comment you must log in.
Tests will not run due to:
== Python Lint Notices ==
./tests/ eventlog/ test_zglog. py:
94: undefined name 'NotFoundError'
* Please remove spaces from docstring and add ending dot and initial upper case for:
""" Tests module """
""" event logging module """
* Is this correct? stdout has an extra -
121 + tempstdout = tempfile. TemporaryFile( prefix= "test-u1- stdout- ") TemporaryFile( prefix= "test-u1- stderr" )
122 + tempstderr = tempfile.
* This code:
233 + except RuntimeError, e:
234 + print e
should use the ubuntuone.logger and log the exception