Rename api.common to humbug

Fixes #482.

(imported from commit 1bd6a7fd993d8d5e225e0311c288dbce0c369a40)
This commit is contained in:
Keegan McAllister
2012-12-03 12:23:06 -05:00
parent f61c26c361
commit bd7b7adb6b
18 changed files with 120 additions and 98 deletions

View File

@@ -20,13 +20,15 @@ import os
import sys
import subprocess
import time
from os import path
sys.path.append(os.path.dirname(os.path.dirname(os.readlink(__file__))))
import api.common
client = api.common.HumbugAPI(email="humbug+commits@humbughq.com",
site="https://staging.humbughq.com",
api_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
verbose=False)
sys.path.append(path.join(path.dirname(os.readlink(__file__)), '../api'))
import humbug
client = humbug.HumbugAPI(
email="humbug+commits@humbughq.com",
site="https://staging.humbughq.com",
api_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
verbose=False)
def check_output(*popenargs, **kwargs):
if 'stdout' in kwargs: