changeset 16709:9eca39a91964

extensions.disabled: return {} instead of None no extensions are disabled
author Augie Fackler <raf@durin42.com>
date Sun, 13 May 2012 04:06:07 -0500
parents 4a02cf4fbb2e
children a17983680f12
files mercurial/extensions.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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():