This site is an archive; learn more about 8 years of OpenHatch.

[Devel] [issue486] Fake out the apt_pkg module in a less aggressive way

Asheesh Laroia bugs at openhatch.org
Sat Jul 16 16:23:04 UTC 2011


New submission from Asheesh Laroia <asheesh at asheesh.org>:

Right now, if you are in the oh-mainline/ directory and you call some
Ubuntu-related Python code, it may try to "import apt_pkg".


That will provide the empty apt_pkg module to the program that does the import.
(The OpenHatch code overrides apt_pkg with an empty module to avoid depending on
the user installing it.)

It would be better if we did not interfere with the system's apt_pkg module.

----------
messages: 2206
nosy: paulproteus
priority: bug
status: unread
title: Fake out the apt_pkg module in a less aggressive way

__________________________________________
Roundup issue tracker <bugs at openhatch.org>
<https://openhatch.org/bugs/issue486>
__________________________________________


More information about the Devel mailing list