diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2006-05-12 09:24:55 -0400 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-05-12 09:24:55 -0400 |
commit | fc2bae004b0c6763e7262090ee73a720bf8159cd (patch) | |
tree | fc13b5eb544687c72f2aecaedc3d86a0bfff4b89 /cobbler/cobbler.py | |
parent | 9d70c830c384f06ef636d7cb8066b0a664ef9143 (diff) | |
download | third_party-cobbler-fc2bae004b0c6763e7262090ee73a720bf8159cd.tar.gz third_party-cobbler-fc2bae004b0c6763e7262090ee73a720bf8159cd.tar.xz third_party-cobbler-fc2bae004b0c6763e7262090ee73a720bf8159cd.zip |
Make unit tests use cobbler.py instead of the /usr/bin wrapper script
Diffstat (limited to 'cobbler/cobbler.py')
-rwxr-xr-x | cobbler/cobbler.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cobbler/cobbler.py b/cobbler/cobbler.py index 01639ca..710fb05 100755 --- a/cobbler/cobbler.py +++ b/cobbler/cobbler.py @@ -1,3 +1,5 @@ +#!/usr/bin/python + """ Command line interface for cobbler, a network provisioning configuration library. Consult 'man cobbler' for general info. This class serves @@ -269,4 +271,5 @@ def main(): sys.exit(1) sys.exit(0) - +if __name__ == "__main__": + sys.exit(main()) |