1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-12 13:49:24 +01:00
Marcus Huewe b6c9505274 - reworked the plugin loading mechanism
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.
2013-06-13 20:10:12 +02:00
..
2009-12-03 19:19:53 +01:00
2013-05-27 14:13:19 +02:00
2013-04-16 10:51:41 +02:00