Closed amaeldoe closed 5 years ago
I have the same problem. The same applies to:
import mprop; mprop.init()
This makes package unusable.
@josiahcarlson, can you fix this?
Holy crap, sorry, didn't see this bug report until now. Otherwise I'd have fixed it. Will try to fix this weekend.
This should be fixed in the master branch, as well as in pypi mprop==0.15.0 .
Thank you for the bug report @amaeldoe and reminder @rominf !
Hi,
All function, not just the one marked with the mproperty decorator, get a module argument. As a result:
* test.py *
Python 2.7.10 (default, May 27 2015, 18:11:38) [GCC 5.1.1 20150422 (Red Hat 5.1.1-1)] on linux2 Type "help", "copyright", "credits" or "license" for more information.