Public bug reported: Hello everyone,
apt_check.py has the ability to be used as a Python module: [...] def run(options=None): [...] # return the number of upgrades (if its used as a module) return(upgrades,security_updates) [...] But (due to packaging), it's not possible to simple import it like from apt_check import run Would it be possible to fix that? Importing the module via full path is possible, but not really good coding style imho. I'm working on a Qt/QML version of update-notifier/update-manager for LXQt and maybe other DEs and don't want to reinvent the wheel. Thanks for your time and attention! ** Affects: update-notifier (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1353946 Title: Please make update-notifier's apt_check.py easily accessible as a module/library To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1353946/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs