Revision 6e60d547 snf-pithos-tools/pithos/tools/dispatcher.py

b/snf-pithos-tools/pithos/tools/dispatcher.py
41 41

  
42 42
from optparse import OptionParser
43 43

  
44
from django.core.management import setup_environ
45
try:
46
    from synnefo import settings
47
except ImportError:
48
   raise Exception("Cannot import settings")
49
setup_environ(settings)
50

  
44 51
BROKER_HOST = 'localhost'
45 52
BROKER_PORT = 5672
46 53
BROKER_USER = 'guest'

Also available in: Unified diff