Description
shelldocs --lint options fails:
hadoop-mirror git:(HADOOP-16747) ✗ ./dev-support/bin/shelldocs --lint -i ./hadoop-common-project/hadoop-common/src/main/bin/start-all.sh Traceback (most recent call last): File "/Users/aajisaka/git/hadoop-mirror/patchprocess/apache-yetus-0.13.0/bin/../lib/shelldocs/shelldocs.py", line 477, in <module> main() File "/Users/aajisaka/git/hadoop-mirror/patchprocess/apache-yetus-0.13.0/bin/../lib/shelldocs/shelldocs.py", line 468, in main message = funcs.lint() File "/Users/aajisaka/git/hadoop-mirror/patchprocess/apache-yetus-0.13.0/bin/../lib/shelldocs/shelldocs.py", line 273, in lint value = getfuncs[attr]() TypeError: 'str' object is not callable
Here the result of "getfuncs[attr]" is "self.replacetext" and its type is "str" or "NoneType". These types cannot call "()" and that's why the error occurs.
Attachments
Issue Links
- is broken by
-
YETUS-1089 replaceable is not consistently handled
- Resolved
- is related to
-
HADOOP-16748 Migrate to Python 3 and upgrade Yetus to 0.13.0
- Resolved
- links to