From 6e1ec1a2ec3a4548885f8d9277a382cc46c32c43 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 25 Oct 2012 13:34:17 -0400 Subject: [PATCH] Move our various bots into api/bots/. (imported from commit f5803441b9b84872b942dff8e1c0ad1100788bcd) --- api/bots/__init__.py | 0 api/{ => bots}/check-mirroring | 0 api/{ => bots}/gcal-bot | 0 api/{ => bots}/humbug_trac.py | 0 api/{ => bots}/mit_subs_list.py | 0 api/{ => bots}/zephyr_mirror.py | 0 zephyr/management/commands/populate_db.py | 2 +- 7 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 api/bots/__init__.py rename api/{ => bots}/check-mirroring (100%) rename api/{ => bots}/gcal-bot (100%) rename api/{ => bots}/humbug_trac.py (100%) rename api/{ => bots}/mit_subs_list.py (100%) rename api/{ => bots}/zephyr_mirror.py (100%) diff --git a/api/bots/__init__.py b/api/bots/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/api/check-mirroring b/api/bots/check-mirroring similarity index 100% rename from api/check-mirroring rename to api/bots/check-mirroring diff --git a/api/gcal-bot b/api/bots/gcal-bot similarity index 100% rename from api/gcal-bot rename to api/bots/gcal-bot diff --git a/api/humbug_trac.py b/api/bots/humbug_trac.py similarity index 100% rename from api/humbug_trac.py rename to api/bots/humbug_trac.py diff --git a/api/mit_subs_list.py b/api/bots/mit_subs_list.py similarity index 100% rename from api/mit_subs_list.py rename to api/bots/mit_subs_list.py diff --git a/api/zephyr_mirror.py b/api/bots/zephyr_mirror.py similarity index 100% rename from api/zephyr_mirror.py rename to api/bots/zephyr_mirror.py diff --git a/zephyr/management/commands/populate_db.py b/zephyr/management/commands/populate_db.py index adad00a0a9..2ef4afb131 100644 --- a/zephyr/management/commands/populate_db.py +++ b/zephyr/management/commands/populate_db.py @@ -12,7 +12,7 @@ from zephyr.lib.parallel import run_parallel from zephyr.lib.initial_password import initial_password from django.db import transaction from django.conf import settings -from api import mit_subs_list +from api.bots import mit_subs_list from zephyr.lib.bulk_create import batch_bulk_create import simplejson