Mercurial > public > mercurial-scm > hg-stable
diff mercurial/templater.py @ 3877:abaee83ce0a6
Replace demandload with new demandimport
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 13 Dec 2006 13:27:09 -0600 |
parents | 734e337cb816 |
children | 6b4127c7d52a |
line wrap: on
line diff
--- a/mercurial/templater.py Tue Dec 12 18:16:23 2006 -0600 +++ b/mercurial/templater.py Wed Dec 13 13:27:09 2006 -0600 @@ -5,10 +5,9 @@ # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. -from demandload import demandload from i18n import gettext as _ from node import * -demandload(globals(), "cgi re sys os time urllib util textwrap") +import cgi, re, sys, os, time, urllib, util, textwrap def parsestring(s, quoted=True): '''parse a string using simple c-like syntax.