diff hgext/bugzilla.py @ 5975:75d9fe70c654

templater: move email function to util
author Matt Mackall <mpm@selenic.com>
date Thu, 31 Jan 2008 14:44:19 -0600
parents 8014159074a9
children f89fd07fc51d
line wrap: on
line diff
--- a/hgext/bugzilla.py	Thu Jan 31 14:44:19 2008 -0600
+++ b/hgext/bugzilla.py	Thu Jan 31 14:44:19 2008 -0600
@@ -282,7 +282,7 @@
                root=self.repo.root,
                webroot=webroot(self.repo.root))
         data = self.ui.popbuffer()
-        self.add_comment(bugid, data, templater.email(ctx.user()))
+        self.add_comment(bugid, data, util.email(ctx.user()))
 
 def hook(ui, repo, hooktype, node=None, **kwargs):
     '''add comment to bugzilla for each changeset that refers to a