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 @@ ...@@ -69,5 +69,6 @@
# scripts # scripts
/scripts/gnt-cluster /scripts/gnt-cluster
/scripts/gnt-debug /scripts/gnt-debug
/scripts/gnt-job
/scripts/gnt-node /scripts/gnt-node
/scripts/gnt-os /scripts/gnt-os
...@@ -141,6 +141,7 @@ client_PYTHON = \ ...@@ -141,6 +141,7 @@ client_PYTHON = \
lib/client/__init__.py \ lib/client/__init__.py \
lib/client/gnt_cluster.py \ lib/client/gnt_cluster.py \
lib/client/gnt_debug.py \ lib/client/gnt_debug.py \
lib/client/gnt_job.py \
lib/client/gnt_node.py \ lib/client/gnt_node.py \
lib/client/gnt_os.py lib/client/gnt_os.py
...@@ -261,6 +262,7 @@ gnt_scripts = \ ...@@ -261,6 +262,7 @@ gnt_scripts = \
PYTHON_BOOTSTRAP = \ PYTHON_BOOTSTRAP = \
scripts/gnt-cluster \ scripts/gnt-cluster \
scripts/gnt-debug \ scripts/gnt-debug \
scripts/gnt-job \
scripts/gnt-node \ scripts/gnt-node \
scripts/gnt-os scripts/gnt-os
...@@ -271,8 +273,7 @@ dist_sbin_SCRIPTS = \ ...@@ -271,8 +273,7 @@ dist_sbin_SCRIPTS = \
daemons/ganeti-confd \ daemons/ganeti-confd \
daemons/ganeti-rapi \ daemons/ganeti-rapi \
scripts/gnt-backup \ scripts/gnt-backup \
scripts/gnt-instance \ scripts/gnt-instance
scripts/gnt-job
nodist_sbin_SCRIPTS = \ nodist_sbin_SCRIPTS = \
$(PYTHON_BOOTSTRAP) \ $(PYTHON_BOOTSTRAP) \
......
#!/usr/bin/python #
# #
# Copyright (C) 2006, 2007 Google Inc. # Copyright (C) 2006, 2007 Google Inc.
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
# W0614: Unused import %s from wildcard import (since we need cli) # W0614: Unused import %s from wildcard import (since we need cli)
# C0103: Invalid name gnt-job # C0103: Invalid name gnt-job
import sys
from ganeti.cli import * from ganeti.cli import *
from ganeti import constants from ganeti import constants
from ganeti import errors from ganeti import errors
...@@ -388,5 +386,5 @@ commands = { ...@@ -388,5 +386,5 @@ commands = {
} }
if __name__ == '__main__': def Main():
sys.exit(GenericMain(commands)) 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