diff mercurial/extensions.py @ 9020:609b803dd252

extensions: remove dead code enabled used to be a boolean, and somehow that bit of code inadvertently slipped through during a refactoring. Effectively dead code, as the condition can never be triggered.
author Cédric Duval <cedricduval@free.fr>
date Sat, 04 Jul 2009 12:06:33 +0200
parents 119d1f664eae
children 31177742f54a
line wrap: on
line diff
--- a/mercurial/extensions.py	Thu Jul 02 20:03:58 2009 +0200
+++ b/mercurial/extensions.py	Sat Jul 04 12:06:33 2009 +0200
@@ -166,10 +166,6 @@
 
 def enabled():
     '''return a dict of {name: desc} of extensions, and the max name length'''
-
-    if not enabled:
-        return {}, 0
-
     exts = {}
     maxlength = 0
     exthelps = []