Skip to content

Commit

Permalink
Had to rename celerymon -> celerymonitor because of import conflicts …
Browse files Browse the repository at this point in the history
…(Python relative imports by default is really really stupid!)
  • Loading branch information
Ask Solem committed Dec 7, 2009
1 parent c0396af commit fb2dce0
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bin/celerymon
@@ -1,6 +1,6 @@
#!/usr/bin/env python
import sys
from celerymon.bin.celerymon import run_monitor, parse_options
from celerymonitor.bin.celerymond import run_monitor, parse_options

if __name__ == "__main__":
options = parse_options(sys.argv[1:])
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -57,7 +57,7 @@
from celery.loaders import settings
from celery.messaging import get_connection_info

from celerymon.service import MonitorService
from celerymonitor.service import MonitorService

STARTUP_INFO_FMT = """
Configuration ->
Expand Down
File renamed without changes.
Expand Up @@ -4,7 +4,7 @@
from tornado.web import RequestHandler, Application

from celery.task import revoke
from celerymon.state import monitor_state
from celerymonitor.state import monitor_state


def JSON(fun):
Expand Down
File renamed without changes.
File renamed without changes.
Expand Up @@ -5,7 +5,7 @@
"""
from django.core.management.base import BaseCommand

from celerymon.bin.celerymon import run_monitor, OPTION_LIST
from celerymonitor.bin.celerymond import run_monitor, OPTION_LIST


class Command(BaseCommand):
Expand Down
4 changes: 2 additions & 2 deletions celerymon/service.py → celerymonitor/service.py
@@ -1,8 +1,8 @@
from carrot.connection import DjangoBrokerConnection
from celery.events import EventReceiver

from celerymon.state import monitor_state
from celerymon.web import WebServerThread
from celerymonitor.state import monitor_state
from celerymonitor.web import WebServerThread


class MonitorListener(object):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion celerymon/web.py → celerymonitor/web.py
Expand Up @@ -4,7 +4,7 @@
from tornado import ioloop
from tornado.web import Application

from celerymon.handlers import api
from celerymonitor.handlers import api


class Site(Application):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -12,7 +12,7 @@
use_setuptools()
from setuptools import setup, find_packages, Command

import celerymon as distmeta
import celerymonitor as distmeta


class RunTests(Command):
Expand Down

0 comments on commit fb2dce0

Please sign in to comment.