TODO: Refactoring zeitgieist.dbusutils

Bug #397432 reported by Markus Korn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
High
Markus Korn

Bug Description

dbusutils has a few useful functions for people who wants to access the public DBus API of zeitgeist. This methods are:
   - get_engine_interface()
   - plainify_dict()
   - dictify_data()

All other methods/constants don't are not useful for the 'public' and should be prefixed with a underscore. In my opinion it also makes sense to merge all get_*() into one get_interface() method.

None of this method should ever call sys.exit(), because this will cause clients to also exit. But clients should be able to react on this errors, like showing messages to the user etc. Insead of calling sys.exit() exceptions should be raised.

Related branches

Markus Korn (thekorn)
Changed in zeitgeist:
importance: Undecided → High
milestone: none → 0.2
summary: - TODO: Refoctoring zeitgieist.dbusutils
+ TODO: Refactoring zeitgieist.dbusutils
Revision history for this message
Markus Korn (thekorn) wrote :

started to work on it in the attached branch

Changed in zeitgeist:
assignee: nobody → Markus Korn (thekorn)
status: New → In Progress
Changed in zeitgeist:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.