# HG changeset patch # User Mads Kiilerich # Date 1360517164 -3600 # Node ID c1d23b4a66d51fbeb73cb2958826c0e901bbbcb8 # Parent c6a81e54c209e42dcc6271461d84e412cf61e380 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. diff -r c6a81e54c209 -r c1d23b4a66d5 hgext/factotum.py --- 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