Fix pungi-koji --version
Signed-off-by: dowang <dowang@redhat.com>
This commit is contained in:
parent
3ef2a65275
commit
adaab46bf7
3 changed files with 26 additions and 5 deletions
|
|
@ -9,6 +9,7 @@ except ImportError:
|
|||
import tempfile
|
||||
import shutil
|
||||
import errno
|
||||
import imp
|
||||
|
||||
from pungi.util import get_arch_variant_data
|
||||
from pungi import paths, checks
|
||||
|
|
@ -190,3 +191,7 @@ def load_config(data={}, **kwargs):
|
|||
conf.update(data)
|
||||
conf.update(kwargs)
|
||||
return conf
|
||||
|
||||
|
||||
def load_bin(name):
|
||||
return imp.load_source('pungi_cli_fake_' + name, os.path.dirname(__file__) + "/../bin/" + name)
|
||||
Loading…
Add table
Add a link
Reference in a new issue