openSUSE / py2pack

Generate distribution packages from PyPI
Apache License 2.0
69 stars 40 forks source link

Fix --run deprecation #55

Closed toabctl closed 8 years ago

toabctl commented 8 years ago

Move the code to the correct place - inside of the "generate()" function. This fixes:

AttributeError: 'Namespace' object has no attribute 'run'