mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 22:56:15 +01:00
b6c9505274
Using the "old" exec approach isn't possible anymore because it'll break all plugins which aren't compatible with python3 (for instance the usage of python2's "print" statement will lead to an error). In order to circumvent this problem we do the following: - import the plugin/module - update the module's global symbol table with the "globals()" of the commandline module - bind the module's "do_*" functions to the "Osc" class This basically mimics the old "exec" semantics. |
||
---|---|---|
.. | ||
util | ||
__init__.py | ||
.gitignore | ||
babysitter.py | ||
build.py | ||
checker.py | ||
cmdln.py | ||
commandline.py | ||
conf.py | ||
core.py | ||
fetch.py | ||
meter.py | ||
OscConfigParser.py | ||
oscerr.py | ||
oscssl.py | ||
oscsslexcp.py |