Revision e948770c autotools/build-bash-completion
b/autotools/build-bash-completion | ||
---|---|---|
28 | 28 |
from ganeti import constants |
29 | 29 |
from ganeti import cli |
30 | 30 |
from ganeti import utils |
31 |
from ganeti import build |
|
31 | 32 |
|
32 | 33 |
# _autoconf shouldn't be imported from anywhere except constants.py, but we're |
33 | 34 |
# making an exception here because this script is only used at build time. |
... | ... | |
606 | 607 |
WriteCompletion(sw, scriptname, |
607 | 608 |
GetFunctionName(scriptname), |
608 | 609 |
commands=GetCommands(filename, |
609 |
utils.LoadModule(filename)))
|
|
610 |
build.LoadModule(filename)))
|
|
610 | 611 |
|
611 | 612 |
# Burnin script |
612 |
burnin = utils.LoadModule("tools/burnin")
|
|
613 |
burnin = build.LoadModule("tools/burnin")
|
|
613 | 614 |
WriteCompletion(sw, "%s/burnin" % constants.TOOLSDIR, "_ganeti_burnin", |
614 | 615 |
opts=burnin.OPTIONS, args=burnin.ARGUMENTS) |
615 | 616 |
|
Also available in: Unified diff