Commit a09b9e3d authored by Michael Hanselmann's avatar Michael Hanselmann

Move gnt-job to ganeti.client.gnt_job

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 37494fa4
......@@ -69,5 +69,6 @@
# scripts
/scripts/gnt-cluster
/scripts/gnt-debug
/scripts/gnt-job
/scripts/gnt-node
/scripts/gnt-os
......@@ -141,6 +141,7 @@ client_PYTHON = \
lib/client/__init__.py \
lib/client/gnt_cluster.py \
lib/client/gnt_debug.py \
lib/client/gnt_job.py \
lib/client/gnt_node.py \
lib/client/gnt_os.py
......@@ -261,6 +262,7 @@ gnt_scripts = \
PYTHON_BOOTSTRAP = \
scripts/gnt-cluster \
scripts/gnt-debug \
scripts/gnt-job \
scripts/gnt-node \
scripts/gnt-os
......@@ -271,8 +273,7 @@ dist_sbin_SCRIPTS = \
daemons/ganeti-confd \
daemons/ganeti-rapi \
scripts/gnt-backup \
scripts/gnt-instance \
scripts/gnt-job
scripts/gnt-instance
nodist_sbin_SCRIPTS = \
$(PYTHON_BOOTSTRAP) \
......
#!/usr/bin/python
#
#
# Copyright (C) 2006, 2007 Google Inc.
......@@ -26,8 +26,6 @@
# W0614: Unused import %s from wildcard import (since we need cli)
# C0103: Invalid name gnt-job
import sys
from ganeti.cli import *
from ganeti import constants
from ganeti import errors
......@@ -388,5 +386,5 @@ commands = {
}
if __name__ == '__main__':
sys.exit(GenericMain(commands))
def Main():
return GenericMain(commands)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment