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.
--- 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 = []