extensions.disabled: return {} instead of None no extensions are disabled
authorAugie Fackler <raf@durin42.com>
Sun, 13 May 2012 04:06:07 -0500
changeset 16709 9eca39a91964
parent 16708 4a02cf4fbb2e
child 16710 a17983680f12
extensions.disabled: return {} instead of None no extensions are disabled
mercurial/extensions.py
--- a/mercurial/extensions.py	Sun May 13 11:55:42 2012 +0200
+++ b/mercurial/extensions.py	Sun May 13 04:06:07 2012 -0500
@@ -274,7 +274,7 @@
 
     paths = _disabledpaths()
     if not paths:
-        return None
+        return {}
 
     exts = {}
     for name, path in paths.iteritems():