diff options
author | Devan Goodwin <dgoodwin@rm-rf.ca> | 2009-10-25 12:24:25 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@rm-rf.ca> | 2009-10-25 12:28:10 -0300 |
commit | 34db8a7f5d1be4316f11575a49eccef7bacfab55 (patch) | |
tree | b77c2bdb6afa769ea8568fc8515ce131c529cd1d | |
parent | 80b2c8f1c37912535fe986f182cc7edb310ffcfe (diff) | |
download | cobbler-34db8a7f5d1be4316f11575a49eccef7bacfab55.tar.gz cobbler-34db8a7f5d1be4316f11575a49eccef7bacfab55.tar.xz cobbler-34db8a7f5d1be4316f11575a49eccef7bacfab55.zip |
Remove unused imports of sub_process.
Will be trying to get rid of using our own sub_process module at some
point.
-rw-r--r-- | cobbler/action_dlcontent.py | 2 | ||||
-rw-r--r-- | cobbler/action_reposync.py | 2 | ||||
-rw-r--r-- | cobbler/cobblerd.py | 1 | ||||
-rw-r--r-- | cobbler/collection.py | 1 | ||||
-rw-r--r-- | cobbler/modules/manage_bind.py | 1 | ||||
-rw-r--r-- | cobbler/modules/manage_dnsmasq.py | 1 | ||||
-rw-r--r-- | cobbler/modules/manage_isc.py | 1 |
7 files changed, 0 insertions, 9 deletions
diff --git a/cobbler/action_dlcontent.py b/cobbler/action_dlcontent.py index ce5a9696..0aafcd14 100644 --- a/cobbler/action_dlcontent.py +++ b/cobbler/action_dlcontent.py @@ -21,8 +21,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA """ import os -import sub_process -import glob import urlgrabber import clogger diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py index 449068c3..f05566b8 100644 --- a/cobbler/action_reposync.py +++ b/cobbler/action_reposync.py @@ -26,7 +26,6 @@ import os.path import time import yaml # Howell-Clark version import sys -import sub_process HAS_YUM = True try: import yum @@ -291,7 +290,6 @@ class RepoSync: # commands here. Any failure at any point stops the operation. if repo.mirror_locally: - #rc = sub_process.call(cmd, shell=True, close_fds=True) rc = utils.subprocess_call(self.logger, cmd) if rc !=0: utils.die(self.logger,"cobbler reposync failed") diff --git a/cobbler/cobblerd.py b/cobbler/cobblerd.py index e8251f91..c4ec3670 100644 --- a/cobbler/cobblerd.py +++ b/cobbler/cobblerd.py @@ -34,7 +34,6 @@ import utils import api as cobbler_api import yaml # Howell Clark version import utils -import sub_process import remote diff --git a/cobbler/collection.py b/cobbler/collection.py index 56a6ffff..fcb06923 100644 --- a/cobbler/collection.py +++ b/cobbler/collection.py @@ -25,7 +25,6 @@ from cexceptions import * import utils import glob import time -import sub_process import random import action_litesync diff --git a/cobbler/modules/manage_bind.py b/cobbler/modules/manage_bind.py index 202836c7..6a9f00da 100644 --- a/cobbler/modules/manage_bind.py +++ b/cobbler/modules/manage_bind.py @@ -25,7 +25,6 @@ import os import os.path import shutil import time -import sub_process import sys import glob import traceback diff --git a/cobbler/modules/manage_dnsmasq.py b/cobbler/modules/manage_dnsmasq.py index bd62c082..56078c58 100644 --- a/cobbler/modules/manage_dnsmasq.py +++ b/cobbler/modules/manage_dnsmasq.py @@ -25,7 +25,6 @@ import os import os.path import shutil import time -import sub_process import sys import glob import traceback diff --git a/cobbler/modules/manage_isc.py b/cobbler/modules/manage_isc.py index 3cce10c4..eea44070 100644 --- a/cobbler/modules/manage_isc.py +++ b/cobbler/modules/manage_isc.py @@ -25,7 +25,6 @@ import os import os.path import shutil import time -import sub_process import sys import glob import traceback |