Changeset 139

Show
Ignore:
Timestamp:
04/09/10 12:00:42
Author:
johnny
Message:

Pyflakes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/templess.py

    r138 r139  
    3838""" 
    3939 
    40 import nanosax 
    41  
    42 # this here for backward compatibility - will be removed some day... 
    43 from util import xmlstring, objectcontext 
    44  
    4540__appname__ = 'templess' 
    4641__version__ = '1.0 unreleased' 
  • trunk/test/test_templess_functional.py

    r138 r139  
    77try: 
    88    from templess import templess 
     9    from templess import util 
    910except ImportError: 
     11    import util 
    1012    import templess 
    11 from StringIO import StringIO 
    12 import re 
    1313 
    1414from xml.dom.minidom import parseString 
    1515 
    16 includeel = templess.xmlstring(u'<div>foo</div>') 
     16includeel = util.xmlstring(u'<div>foo</div>') 
    1717includeel2 = templess.template( 
    1818    here.join('templates/testtemplate_include.html').open()