~ubuntu-branches/ubuntu/wily/mercurial/wily

« back to all changes in this revision

Viewing changes to mercurial/demandimport.py

  • Committer: Package Import Robot
  • Author(s): Javi Merino
  • Date: 2014-03-03 22:52:12 UTC
  • mfrom: (1.2.42)
  • Revision ID: package-import@ubuntu.com-20140303225212-1g4mr7wpm39kubm5
Tags: 2.9.1-1
* New upstream release
* mercurial 2.9 breaks current hgsubversion (1.5-1)
* Blacklist test-patchbomb.t as it failed sporadically in mips buildd
  for 2.9-1 and is now failing for me.

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
    'mimetools',
163
163
    ]
164
164
 
 
165
def isenabled():
 
166
    return __builtin__.__import__ == _demandimport
 
167
 
165
168
def enable():
166
169
    "enable global demand-loading of modules"
167
170
    __builtin__.__import__ = _demandimport