Permalink
Browse files

Fix import order & add note about its brittleness.

  • Loading branch information...
1 parent d91bef3 commit 302aaf36ab2c51274b042ee4b2048deea17e486e @douglatornell douglatornell committed Aug 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 blogofile/config.py
View
@@ -10,13 +10,14 @@
import sys
import re
-import blogofile_bf as bf
from . import cache
from . import controller
from . import plugin
from . import site_init
from . import filter as _filter
from .cache import HierarchicalCache as HC
+# TODO: This import MUST come after cache is imported; that's too brittle!
+import blogofile_bf as bf
bf.config = sys.modules['blogofile.config']

0 comments on commit 302aaf3

Please sign in to comment.