Changeset 3808:167234390c1b in livinglogic.python.xist

Show
Ignore:
Timestamp:
06/29/09 23:02:05 (10 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Make reprtab a module level constant, so that it can be changed via code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/presenters.py

    r3803 r3808  
    161161 
    162162 
     163reprtab = os.environ.get("LL_XIST_REPR_TAB", u"  ") 
     164 
     165 
    163166def strtab(count): 
    164167    # The environment variable ``LL_XIST_REPR_TAB`` specifies how to represent an indentation in the DOM tree 
    165     reprtab = os.environ.get("LL_XIST_REPR_TAB", u"  ") 
    166168    return s4tab(unicode(reprtab)*count) 
    167169