##// END OF EJS Templates
util: simplify range expression...
util: simplify range expression The n index variable was unused. Every iteration would pop one element off of parts, so the for loop can be replaced with a while loop.

File last commit:

r8225:46293a0c default
r8631:a87c41f6 default
Show More
__init__.py
16 lines | 512 B | text/x-python | PythonLexer
Eric Hopper
Fixing up comment headers for split up code.
r2391 # hgweb/__init__.py - web interface to a mercurial repository
Eric Hopper
Moving hgweb.py into it's own module in preparation for breaking it up.
r2311 #
# Copyright 21 May 2005 - (c) 2005 Jake Edge <jake@edge2.net>
# Copyright 2005 Matt Mackall <mpm@selenic.com>
#
Martin Geisler
updated license to be explicit about GPL version 2
r8225 # This software may be used and distributed according to the terms of the
# GNU General Public License version 2, incorporated herein by reference.
Eric Hopper
Moving hgweb.py into it's own module in preparation for breaking it up.
r2311
Matt Mackall
Replace demandload with new demandimport
r3877 import hgweb_mod, hgwebdir_mod
def hgweb(*args, **kwargs):
return hgweb_mod.hgweb(*args, **kwargs)
def hgwebdir(*args, **kwargs):
return hgwebdir_mod.hgwebdir(*args, **kwargs)