Skip to content

Commit

Permalink
Bug #910494: Horizon still tries to load quantum.client when QUANTUM_…
Browse files Browse the repository at this point in the history
…ENABLED=False

Conditionally load api.quantum based on QUANTUM_ENABLED.  This means that
you don't have to have quantum.client installed if you're going to run with
QUANTUM_ENABLED=False.

Change-Id: I9abc08e18188a8fed681603ca2c0dd4534bc5135
  • Loading branch information
Ewan Mellor committed Jan 1, 2012
1 parent d04a6fd commit eef90c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion horizon/horizon/api/__init__.py
Expand Up @@ -36,4 +36,5 @@
from horizon.api.keystone import *
from horizon.api.nova import *
from horizon.api.swift import *
from horizon.api.quantum import *
if settings.QUANTUM_ENABLED:
from horizon.api.quantum import *

0 comments on commit eef90c6

Please sign in to comment.