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 4bfd784423
commit f9f8a6e603
14 changed files with 97 additions and 80 deletions

View file

@ -10,8 +10,8 @@ import itertools
import traceback
from os import path
sys.path.append(path.join(path.dirname(__file__), '../..'))
import api.common
sys.path.append(path.join(path.dirname(__file__), '..'))
import humbug
parser = optparse.OptionParser(r"""
@ -91,10 +91,11 @@ def get_calendar_url():
calendar_url = get_calendar_url()
humbug = api.common.HumbugAPI(email=options.user,
api_key=options.api_key,
site=options.site,
verbose=True)
humbug = humbug.HumbugAPI(
email=options.user,
api_key=options.api_key,
site=options.site,
verbose=True)
def get_events():
feed = CalendarClient().GetCalendarEventFeed(uri=calendar_url)