Skip to content

Commit

Permalink
fix issue295
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan-Salwan committed Dec 3, 2021
1 parent 18a0a8f commit b036a70
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fire/helptext.py
Expand Up @@ -124,12 +124,12 @@ def ReturnAllArgs(Inherit_classes_list):
Return: list of all arguments which is retrieved from parent classes.
"""
all_args = []
if len(Inherit_classes_list)>2:
for classes in Inherit_classes_list:
argspec_tuple=inspect.getargspec(classes)
args_list=argspec_tuple[0]
for arg in args_list[1:]:
all_args.append(arg)

for classes in Inherit_classes_list:
argspec_tuple=inspect.getargspec(classes)
args_list=argspec_tuple[0]
for arg in args_list[1:]:
all_args.append(arg)

return all_args

Expand Down

0 comments on commit b036a70

Please sign in to comment.