Revision: 3629
Author: jussi.ao.malinen
Date: Fri May 28 03:55:13 2010
Log: inlined
http://code.google.com/p/robotframework/source/detail?r=3629
Modified:
/trunk/src/robot/parsing/htmlreader.py
=======================================
--- /trunk/src/robot/parsing/htmlreader.py Mon May 24 05:10:22 2010
+++ /trunk/src/robot/parsing/htmlreader.py Fri May 28 03:55:13 2010
@@ -14,10 +14,9 @@
import HTMLParser
+import sys
from htmlentitydefs import entitydefs
-from robot import utils
-
extra_entitydefs = {'nbsp': ' ', 'apos': "'", 'tilde': '~'}
@@ -189,7 +188,7 @@
# Workaround for following bug in Python 2.6:
http://bugs.python.org/issue3932
-if utils.py_version > (2, 5):
+if sys.version_info[:2] > (2, 5):
def unescape_from_py25(self, s):
if '&' not in s:
return s