[packagekit] Enums in Python

Richard Hughes hughsient at gmail.com
Tue Nov 6 11:30:39 PST 2007

On Tue, 2007-11-06 at 20:05 +0100, Tom Parker wrote:
> To solve this, I've written a chunk of
> code that builds a PackageKitEnum class in python with static members
> listing the messages in each enum type, and as a side effect also
> generates all of the big long manual lists that were previously listed
> in backend.py automagically as well.

Clever. It look good to me, but I'm no python dude. Make sure "make
distcheck" passes okay - and we can always fix things up if they break
later. So, yes, I think this is good to commit.


More information about the PackageKit mailing list