Permalink
Browse files

Make etree import global for Python 2.5.

  • Loading branch information...
Tim Weber
Tim Weber committed Nov 18, 2009
1 parent b19157a commit bcf4253e84723f71a5236350a670cf86e99fdfd6
Showing with 1 addition and 0 deletions.
  1. +1 −0 import.py
View
@@ -488,6 +488,7 @@ def __init__(self):
try:
if options.NOLXML:
raise SkipParserException()
+ global etree
from lxml import etree
parser = LxmlHandler
progress('Using lxml parser.')

0 comments on commit bcf4253

Please sign in to comment.