summaryrefslogtreecommitdiff
path: root/pluginvalidator
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-16 17:45:29 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-16 17:45:29 +0300
commit3a7ffd9d5fadc175fd2db6965f338486dfd80f1a (patch)
tree14be07f7b335ebb5294abca241ca1e0497af0266 /pluginvalidator
parent715c77a5d735da08d3909c7631f7fee215e8bdce (diff)
downloadevol-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')
-rwxr-xr-xpluginvalidator/validate.py3
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