Comment 29 for bug 828850

Revision history for this message
Edward Donovan (edward.donovan) wrote :

The whole privilege-checking section of the code looks like it was copied from the 'jockey' app. It starts at line 306, the comment "# helper from jockey":

  http://bazaar.launchpad.net/~ubuntu-core-dev/software-properties/main/view/head:/softwareproperties/dbus/SoftwarePropertiesDBus.py#L306

(AFAICT, that code predates the bazaar history, which shows the file arriving in one piece, including the main part of this code.)

Later, I'll try to look at jockey and see if it now handles this better. Thanks.