diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-16 17:45:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-16 17:45:29 +0300 |
commit | 3a7ffd9d5fadc175fd2db6965f338486dfd80f1a (patch) | |
tree | 14be07f7b335ebb5294abca241ca1e0497af0266 /pluginvalidator/validate.py | |
parent | 715c77a5d735da08d3909c7631f7fee215e8bdce (diff) | |
download | evol-tools-3a7ffd9d5fadc175fd2db6965f338486dfd80f1a.tar.gz evol-tools-3a7ffd9d5fadc175fd2db6965f338486dfd80f1a.tar.bz2 evol-tools-3a7ffd9d5fadc175fd2db6965f338486dfd80f1a.tar.xz evol-tools-3a7ffd9d5fadc175fd2db6965f338486dfd80f1a.zip |
pluginvalidator: fix crash on complex plugin interfaces.
For now validator cant check this interfaces.
Diffstat (limited to 'pluginvalidator/validate.py')
-rwxr-xr-x | pluginvalidator/validate.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pluginvalidator/validate.py b/pluginvalidator/validate.py index 61661ba..9e8869b 100755 --- a/pluginvalidator/validate.py +++ b/pluginvalidator/validate.py @@ -156,6 +156,9 @@ def compareFuncs(session): for func in session.plugDecls: pfunc = session.plugDecls[func] for func2 in session.plugToFunc[func]: + if func2 not in session.funcDecls: + print "Error: function {0} not found".format(func2) + continue ffunc = session.funcDecls[func2] # print "{0} - {1}".format(func, func2) # print pfunc |