check_repo: include PLUGINDIR for executing scripts.

This commit is contained in:
Jimmy Berry 2017-05-02 15:32:49 -05:00
parent c921420a1f
commit 8707c4c405

View File

@ -30,6 +30,7 @@ from osc import cmdln
from osc import conf
from osc import oscerr
PLUGINDIR = os.path.dirname(os.path.realpath(__file__.replace('.pyc', '.py')))
from osclib.conf import Config
from osclib.checkrepo import CheckRepo
from osclib.checkrepo import BINCACHE, DOWNLOADS