comparison mercurial/mail.py @ 3886:abaee83ce0a6

Replace demandload with new demandimport
author Matt Mackall <mpm@selenic.com>
date Wed, 13 Dec 2006 13:27:09 -0600
parents 26c8d37496c2
children 6b4127c7d52a
comparison
equal deleted inserted replaced
3885:1e0b94cfba0e 3886:abaee83ce0a6
4 # 4 #
5 # This software may be used and distributed according to the terms 5 # This software may be used and distributed according to the terms
6 # of the GNU General Public License, incorporated herein by reference. 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from i18n import gettext as _ 8 from i18n import gettext as _
9 from demandload import * 9 import os, re, smtplib, templater, util
10 demandload(globals(), "os re smtplib templater util")
11 10
12 def _smtp(ui): 11 def _smtp(ui):
13 '''send mail using smtp.''' 12 '''send mail using smtp.'''
14 13
15 local_hostname = ui.config('smtp', 'local_hostname') 14 local_hostname = ui.config('smtp', 'local_hostname')