make xmlgen a single file + a single file test instead of a whole directory

--HG--
branch : trunk
This commit is contained in:
holger krekel 2009-09-04 18:30:48 +02:00
parent a0d7ab2244
commit 32e2bf7d08
5 changed files with 7 additions and 10 deletions

View File

@ -185,12 +185,12 @@ initpkg(__name__,
'error' : ('./error.py', 'error'), 'error' : ('./error.py', 'error'),
# small and mean xml/html generation # small and mean xml/html generation
'xml.__doc__' : ('./xmlobj/__init__.py', '__doc__'), 'xml.__doc__' : ('./xmlgen.py', '__doc__'),
'xml.html' : ('./xmlobj/xmlgen.py', 'html'), 'xml.html' : ('./xmlgen.py', 'html'),
'xml.Tag' : ('./xmlobj/xmlgen.py', 'Tag'), 'xml.Tag' : ('./xmlgen.py', 'Tag'),
'xml.raw' : ('./xmlobj/xmlgen.py', 'raw'), 'xml.raw' : ('./xmlgen.py', 'raw'),
'xml.Namespace' : ('./xmlobj/xmlgen.py', 'Namespace'), 'xml.Namespace' : ('./xmlgen.py', 'Namespace'),
'xml.escape' : ('./xmlobj/xmlgen.py', 'escape'), 'xml.escape' : ('./xmlgen.py', 'escape'),
# logging API ('producers' and 'consumers' connected via keywords) # logging API ('producers' and 'consumers' connected via keywords)
'log.__doc__' : ('./log/__init__.py', '__doc__'), 'log.__doc__' : ('./log/__init__.py', '__doc__'),

View File

@ -1,6 +1,6 @@
import py import py
from py.__.xmlobj.xmlgen import unicode, html from py.__.xmlgen import unicode, html
class ns(py.xml.Namespace): class ns(py.xml.Namespace):
pass pass

View File

@ -1,2 +0,0 @@
""" small and mean xml/html generation """

View File

@ -1 +0,0 @@
#