Rename humbug_tools to zulip_tools.

(imported from commit 7f21fdc2c2d6ad0bdbd99eb616ffc75c347d8dcb)
This commit is contained in:
Tim Abbott 2013-08-06 16:39:20 -04:00
parent 4c8fdec554
commit 130d381302
8 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ from collections import defaultdict
from os import path, environ from os import path, environ
sys.path.append(path.join(path.dirname(__file__), '../tools')) sys.path.append(path.join(path.dirname(__file__), '../tools'))
from humbug_tools import check_output from zulip_tools import check_output
states = { states = {
0: "OK", 0: "OK",

View File

@ -7,7 +7,7 @@ import time
from os import path, environ from os import path, environ
sys.path.append(path.join(path.dirname(__file__), '../tools')) sys.path.append(path.join(path.dirname(__file__), '../tools'))
from humbug_tools import check_output from zulip_tools import check_output
WARN_THRESHOLD = 50 WARN_THRESHOLD = 50
CRIT_THRESHOLD = 100 CRIT_THRESHOLD = 100

View File

@ -8,7 +8,7 @@ import subprocess
from os import path from os import path
from collections import defaultdict from collections import defaultdict
from humbug_tools import check_output from zulip_tools import check_output
parser = optparse.OptionParser() parser = optparse.OptionParser()
parser.add_option('--full', parser.add_option('--full',

View File

@ -30,7 +30,7 @@
import sys import sys
import subprocess import subprocess
from humbug_tools import check_output, ENDC, FAIL from zulip_tools import check_output, ENDC, FAIL
def update_deployment(server, refname): def update_deployment(server, refname):
return subprocess.call(["ssh", server, "--", "env", "-u", "GIT_DIR", return subprocess.call(["ssh", server, "--", "env", "-u", "GIT_DIR",

View File

@ -3,7 +3,7 @@ import os
import logging import logging
import datetime import datetime
import shutil import shutil
from humbug_tools import DEPLOYMENTS_DIR, TIMESTAMP_FORMAT from zulip_tools import DEPLOYMENTS_DIR, TIMESTAMP_FORMAT
logging.basicConfig(format="%(asctime)s purge-deployments: %(message)s", logging.basicConfig(format="%(asctime)s purge-deployments: %(message)s",
level=logging.INFO) level=logging.INFO)

View File

@ -5,7 +5,7 @@ import pwd
import subprocess import subprocess
import logging import logging
import time import time
from humbug_tools import ENDC, OKGREEN, DEPLOYMENTS_DIR from zulip_tools import ENDC, OKGREEN, DEPLOYMENTS_DIR
logging.basicConfig(format="%(asctime)s restart-server: %(message)s", logging.basicConfig(format="%(asctime)s restart-server: %(message)s",
level=logging.INFO) level=logging.INFO)

View File

@ -3,7 +3,7 @@ import os
import sys import sys
import subprocess import subprocess
import logging import logging
from humbug_tools import DEPLOYMENTS_DIR, LOCK_DIR, TIMESTAMP_FORMAT, FAIL, WARNING, ENDC from zulip_tools import DEPLOYMENTS_DIR, LOCK_DIR, TIMESTAMP_FORMAT, FAIL, WARNING, ENDC
import datetime import datetime
import shutil import shutil
import time import time