Changeset 3058 for trac/trunk/wiki-macros/TracNav.py
- Timestamp:
- 11/24/05 14:34:06 (7 years ago)
- File:
-
- 1 edited
-
trac/trunk/wiki-macros/TracNav.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trac/trunk/wiki-macros/TracNav.py
r3057 r3058 45 45 == Author and license == 46 46 47 Copyright 2005 Bernhard Haumacher (haui at haumacher.de) 47 Copyright 2005 48 * Bernhard Haumacher (haui at haumacher.de) 49 * Thomas Moschny (moschny at ipd.uni-karlsruhe.de) 48 50 49 51 {{{ … … 141 143 indentation of the first entry. 142 144 """ 143 try: 144 indent, link, label = gen.next() 145 except StopIteration: 146 indent = -1 147 yield indent 148 149 ready = False 150 while not ready: 151 yield link, label 145 while True: 152 146 try: 153 147 indent, link, label = gen.next() 154 148 except StopIteration: 155 indent, ready = -1, True 149 yield -1 150 return 156 151 yield indent 152 yield link, label 157 153 158 154
Note: See TracChangeset
for help on using the changeset viewer.
