diff -r 65f1b97484be -r 962eb403165b hgext/bugzilla.py --- a/hgext/bugzilla.py Sun Apr 13 11:31:45 2008 -0500 +++ b/hgext/bugzilla.py Mon Apr 14 14:34:38 2008 +0200 @@ -55,7 +55,7 @@ from mercurial.i18n import _ from mercurial.node import short from mercurial import cmdutil, templater, util -import os, re, time +import re, time MySQLdb = None @@ -127,7 +127,7 @@ cmd = self.ui.config('bugzilla', 'notify', 'cd /var/www/html/bugzilla && ' './processmail %s nobody@nowhere.com') % id - fp = os.popen('(%s) 2>&1' % cmd) + fp = util.popen('(%s) 2>&1' % cmd) out = fp.read() ret = fp.close() if ret: