changeset 18647:c1d23b4a66d5

factotum: fix urllib2 import so it no longer relies on a demandimport bug demandimport will do that urllib2 can be imported 'from mercurial' even though it doesn't exist there.
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 10 Feb 2013 18:26:04 +0100
parents c6a81e54c209
children 76b69cccb07a
files hgext/factotum.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/factotum.py	Sun Jan 27 03:32:09 2013 +0100
+++ b/hgext/factotum.py	Sun Feb 10 18:26:04 2013 +0100
@@ -47,8 +47,8 @@
 
 from mercurial.i18n import _
 from mercurial.url import passwordmgr
-from mercurial import httpconnection, urllib2, util
-import os
+from mercurial import httpconnection, util
+import os, urllib2
 
 ERRMAX = 128