(rout)
| 748 | |
| 749 | |
| 750 | def getargs(rout): |
| 751 | sortargs, args = [], [] |
| 752 | if 'args' in rout: |
| 753 | args = rout['args'] |
| 754 | if 'sortvars' in rout: |
| 755 | for a in rout['sortvars']: |
| 756 | if a in args: |
| 757 | sortargs.append(a) |
| 758 | for a in args: |
| 759 | if a not in sortargs: |
| 760 | sortargs.append(a) |
| 761 | else: |
| 762 | sortargs = rout['args'] |
| 763 | return args, sortargs |
| 764 | |
| 765 | |
| 766 | def getargs2(rout): |
no outgoing calls
no test coverage detected
searching dependent graphs…