Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Try load BeautifulSoup at top level (globals)
  • Loading branch information
alanjds committed Feb 19, 2012
1 parent 7a34d7a commit a8626c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions middleware.py
Expand Up @@ -18,6 +18,10 @@
except:
import StringIO

try:
from BeautifulSoup import BeautifulSoup
except ImportError, e:
pass

import logging
logger = logging.getLogger()
Expand Down

0 comments on commit a8626c6

Please sign in to comment.