hgext/highlight/highlight.py
changeset 37843 670eb4fa1b86
parent 37084 f0b6fbea00cf
child 38359 876352ea831e
--- a/hgext/highlight/highlight.py	Thu Apr 19 20:33:43 2018 +0900
+++ b/hgext/highlight/highlight.py	Sat May 05 18:41:51 2018 -0700
@@ -11,7 +11,7 @@
 from __future__ import absolute_import
 
 from mercurial import demandimport
-demandimport.ignore.extend(['pkgutil', 'pkg_resources', '__main__'])
+demandimport.IGNORES.update(['pkgutil', 'pkg_resources', '__main__'])
 
 from mercurial import (
     encoding,