extensions: update doc of enabled() and disabled() according to d5b525697ddb
authorYuya Nishihara <yuya@tcha.org>
Sat, 04 Jun 2011 20:01:01 +0900
changeset 14530 cd31a1cc1521
parent 14529 e7a1814854b9
child 14531 b88368a3ade4
extensions: update doc of enabled() and disabled() according to d5b525697ddb
mercurial/extensions.py
--- a/mercurial/extensions.py	Sat Jun 04 15:56:48 2011 +0200
+++ b/mercurial/extensions.py	Sat Jun 04 20:01:01 2011 +0900
@@ -261,9 +261,7 @@
         return _('(no help text available)')
 
 def disabled():
-    '''find disabled extensions from hgext
-    returns a dict of {name: desc}, and the max name length'''
-
+    '''find disabled extensions from hgext. returns a dict of {name: desc}'''
     paths = _disabledpaths()
     if not paths:
         return None
@@ -328,7 +326,7 @@
     raise error.UnknownCommand(cmd)
 
 def enabled():
-    '''return a dict of {name: desc} of extensions, and the max name length'''
+    '''return a dict of {name: desc} of extensions'''
     exts = {}
     for ename, ext in extensions():
         doc = (gettext(ext.__doc__) or _('(no help text available)'))