changeset 1111:815e5cbc7ea7

init: remove pre-1.6 code from extsetup
author Sean Farley <sean.michael.farley@gmail.com>
date Fri, 06 Sep 2013 18:24:53 -0500
parents 99b3b443b94b
children 0c2eef372483
files hgsubversion/__init__.py
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/__init__.py
+++ b/hgsubversion/__init__.py
@@ -157,11 +157,7 @@ def extsetup(ui):
          lambda: open(os.path.join(helpdir, 'subversion.rst')).read()),
     )
 
-    # in 1.6 and earler the help table is a tuple
-    if getattr(help.helptable, 'extend', None):
-        help.helptable.extend(entries)
-    else:
-        help.helptable = help.helptable + entries
+    help.helptable.extend(entries)
 
     templatekw.keywords.update(util.templatekeywords)