Show More
@@ -8,6 +8,7 b'' | |||
|
8 | 8 | from __future__ import absolute_import |
|
9 | 9 | |
|
10 | 10 | import imp |
|
11 | import inspect | |
|
11 | 12 | import os |
|
12 | 13 | |
|
13 | 14 | from .i18n import ( |
@@ -150,7 +151,7 b' def _runextsetup(name, ui):' | |||
|
150 | 151 | try: |
|
151 | 152 | extsetup(ui) |
|
152 | 153 | except TypeError: |
|
153 | if extsetup.func_code.co_argcount != 0: | |
|
154 | if inspect.getargspec(extsetup).args: | |
|
154 | 155 | raise |
|
155 | 156 | extsetup() # old extsetup with no ui argument |
|
156 | 157 |
General Comments 0
You need to be logged in to leave comments.
Login now