Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/request.py @ 3877:abaee83ce0a6
Replace demandload with new demandimport
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 13 Dec 2006 13:27:09 -0600 |
parents | eb0b4a2d70a9 |
children | ba45041827a2 |
comparison
equal
deleted
inserted
replaced
3876:1e0b94cfba0e | 3877:abaee83ce0a6 |
---|---|
4 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> | 4 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> |
5 # | 5 # |
6 # This software may be used and distributed according to the terms | 6 # This software may be used and distributed according to the terms |
7 # of the GNU General Public License, incorporated herein by reference. | 7 # of the GNU General Public License, incorporated herein by reference. |
8 | 8 |
9 from mercurial.demandload import demandload | 9 import socket, sys, cgi, os, errno |
10 demandload(globals(), "socket sys cgi os errno") | |
11 from mercurial.i18n import gettext as _ | 10 from mercurial.i18n import gettext as _ |
12 | 11 |
13 class wsgiapplication(object): | 12 class wsgiapplication(object): |
14 def __init__(self, destmaker): | 13 def __init__(self, destmaker): |
15 self.destmaker = destmaker | 14 self.destmaker = destmaker |