Skip to content

Commit 8179a78

Browse files
committed
temporary fix to make treebuilders work, see also some comments on IRC (whatbot, 2006-12-28)
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40366
1 parent a187680 commit 8179a78

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/treebuilders/base.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import sys
22
import os
33

4-
sys.path.insert(0, os.path.abspath(os.pardir))
5-
6-
from constants import contentModelFlags, spaceCharacters
7-
from constants import scopingElements, formattingElements, specialElements
8-
from constants import headingElements, tableInsertModeElements
4+
# XXX someone please fix this up! And make sure it doesn't break Windows.
5+
from src.constants import contentModelFlags, spaceCharacters
6+
from src.constants import scopingElements, formattingElements, specialElements
7+
from src.constants import headingElements, tableInsertModeElements
98

109
# The scope markers are inserted when entering buttons, object elements,
1110
# marquees, table cells, and table captions, and are used to prevent formatting

0 commit comments

Comments
 (0)