Missing __init__.py file on package
Bug #1513961 reported by
Thiago Bellini
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-qrcode (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The package is missing a __init__.py file on the qrcode/image package, making it useless. Just try to 'import qrcode' and since qrcode.image is not a package because of the missing file, and the qrcode/__init__.py tries to import it, it will not work.
Just by changing the rules to do 'dh $@ --with python2' (which is the rule being used by newer versions of this package on vivid/whily/etc) instead of 'dh $@' made it correct. The change is attached on the bug.
I uploaded a new version with the change on my ppa here <https:/
Changed in python-qrcode (Ubuntu): | |
importance: | Undecided → Medium |
To post a comment you must log in.
The attachment "qrcode.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]