]> scripts.mit.edu Git - wizard.git/commitdiff
Remove unnecessary imports.
authorEdward Z. Yang <ezyang@mit.edu>
Sat, 17 Oct 2009 03:24:42 +0000 (23:24 -0400)
committerEdward Z. Yang <ezyang@mit.edu>
Sat, 17 Oct 2009 03:24:42 +0000 (23:24 -0400)
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
16 files changed:
wizard/app/mediawiki.py
wizard/command/backup.py
wizard/command/blacklist.py
wizard/command/configure.py
wizard/command/errors.py
wizard/command/install.py
wizard/command/list.py
wizard/command/mass_migrate.py
wizard/command/mass_upgrade.py
wizard/command/migrate.py
wizard/command/prepare_config.py
wizard/command/research.py
wizard/command/restore.py
wizard/command/upgrade.py
wizard/deploy.py
wizard/install.py

index 5e71b4dc39dd25174f7e3d746457c40e9cd0252f..74c01100fc302d0590537646890dd8c95b7ffa09 100644 (file)
@@ -1,12 +1,8 @@
 import re
 import distutils.version
 import os
-import datetime
-import logging
-import shlex
-import shutil
 
-from wizard import app, deploy, install, resolve, scripts, shell, util
+from wizard import app, install, resolve, shell, util
 from wizard.app import php
 
 def make_filename_regex(var):
index 3d5c991c0e9b361a00a53b66829a6b6d95427029..82dd449c115c2be44a9632e584a4a663d6f842d0 100644 (file)
@@ -1,9 +1,4 @@
-import logging
-import optparse
-import sys
-import distutils.version
-
-from wizard import command, deploy, git, shell, util
+from wizard import command, deploy, shell
 
 def main(argv, baton):
     options, args = parse_args(argv, baton)
index d2c1d35e46339d07b846f61d25b88d6a5c1a75f9..8665524349f051127828d0c99af217df78bcc3c1 100644 (file)
@@ -1,10 +1,6 @@
-import logging
 import os
-import optparse
-import sys
-import distutils.version
 
-from wizard import command, git, shell, util
+from wizard import command, shell, util
 
 def main(argv, baton):
     options, args = parse_args(argv, baton)
index 8bf97bc34f7074103598acbea872076d6d21da34..516de3705ea38aa04347f1e283500312662342a3 100644 (file)
@@ -1,6 +1,4 @@
-import logging
 import optparse
-import sys
 import distutils.version
 
 from wizard import app, command, git, shell, util
index 10be7aa44a12e7722eaa78e05105318e9996a522..703528571872cae2961a7d0fddd772c79381cb4f 100644 (file)
@@ -1,5 +1,3 @@
-import logging
-
 from wizard import app, deploy, command
 
 def main(argv, baton):
index 224f8f25cddfc1ccd6c7f75eb7a0cf899351d69a..a6ebba5ac3b9029890d9b9dcb7826af170266d52 100644 (file)
@@ -1,7 +1,4 @@
 import os
-import shutil
-import logging
-import errno
 import sys
 
 import wizard
index db282276b335b2097f517adf68896205f371c7f9..bb0ad575d784cd42974972ae09a4aca428766be6 100644 (file)
@@ -1,5 +1,4 @@
 import logging
-import traceback
 import os.path
 
 from wizard import command, deploy
index 95d975eb3ee7ed5a8a6ceff77cf13016e358ee44..036bed4f39526048fe2f37c3a8473b3fa1e944aa 100644 (file)
@@ -1,15 +1,9 @@
-import optparse
 import logging
 import os
 import os.path
-import pwd
-import hashlib
-import errno
-import time
 import itertools
 
-import wizard
-from wizard import deploy, util, shell, sset, command
+from wizard import deploy, shell, sset, command
 
 def main(argv, baton):
     options, args = parse_args(argv, baton)
index f61d6169088ced03debf966d5fa11697c6a8d6b7..8b4c6ff38098227a10e62c960ed5b32e37cc0a3a 100644 (file)
@@ -1,17 +1,11 @@
-import optparse
 import logging
 import os
 import os.path
-import pwd
-import hashlib
-import errno
-import time
 import itertools
 import sys
 import shutil
 
-import wizard
-from wizard import deploy, util, scripts, shell, sset, command
+from wizard import deploy, scripts, shell, sset, command
 
 def main(argv, baton):
     options, args = parse_args(argv, baton)
index 0393c8fd69635c5d54dd75228f43d9ddbc596195..168b67afe3d1c5a40d42712ecead02ef9a605f84 100644 (file)
@@ -1,9 +1,6 @@
 import os
-import itertools
 import shutil
 import logging
-import errno
-import sys
 
 from wizard import command, deploy, shell, util
 
index 9270f8bd2722d47b751e6871ad61574998e7ed09..9c08b0dadf7e6f22298de5156d343ff66e3490e2 100644 (file)
@@ -1,11 +1,6 @@
-import os
-import shutil
-import logging
-import errno
 import sys
 
-import wizard
-from wizard import command, deploy, shell, util
+from wizard import command, deploy, shell
 
 def main(argv, baton):
     options, args = parse_args(argv, baton)
index 6ddd07cbfca1865bc4260bf82d6420baaae6b41a..add825b44e8278fae20738e19fc46ffd7a22902c 100644 (file)
@@ -1,6 +1,5 @@
 import logging
 import traceback
-import os.path
 import itertools
 import random
 
index 5b6dfcce23b25c9d71d0181c284eb1e60dfc01d4..060ab7860ac862ed21647bb2e0394e95e274cbe6 100644 (file)
@@ -1,10 +1,8 @@
 import logging
 import os
-import optparse
 import sys
-import distutils.version
 
-from wizard import command, deploy, git, shell, util
+from wizard import command, deploy, shell
 
 def main(argv, baton):
     options, args = parse_args(argv, baton)
index 06be3db1eb23548d64f0d57fce5d5042f364f502..d375b90e4c3c8d1d8aa8785b049ed899eaaba47f 100644 (file)
@@ -1,10 +1,8 @@
-import optparse
 import sys
 import distutils.version
 import os
 import shutil
 import logging.handlers
-import errno
 import tempfile
 import itertools
 
index 08a00468286a86e2036e8fa9aabfac78d7cde41b..cc43d85b947e2700f5c8661aebfd23ce00b1497a 100644 (file)
@@ -6,10 +6,7 @@ which in turn has an :class:`app.Application`.
 
 import os.path
 import fileinput
-import dateutil.parser
-import tempfile
 import logging
-import shutil
 import decorator
 import datetime
 
index eab7ca4df951d1a4a2bc0e2e32a3391c663119fc..4296bb1170042164950b6e00de173b2e0b5b3103 100644 (file)
@@ -57,12 +57,7 @@ the actual installation begins).
     from wizard.install import *
 """
 
-import optparse
 import os
-import httplib
-import urllib
-import subprocess
-import getpass
 
 import wizard
 from wizard import scripts, shell, util