diff -r fcc406143e5b -r bcc07ff2362c editors/TextViewer.py --- a/editors/TextViewer.py Thu Aug 17 11:39:10 2017 +0300 +++ b/editors/TextViewer.py Thu Aug 17 14:27:06 2017 +0300 @@ -495,9 +495,9 @@ if blocktype["type"] == "function" and blockname not in self.Keywords and blockname not in self.Variables.keys(): interface = dict([(name, {}) for name, type, modifier in blocktype["inputs"] + blocktype["outputs"] if name != '']) for param in ["EN", "ENO"]: - if not interface.has_key(param): + if not param in interface: interface[param] = {} - if self.Functions.has_key(blockname): + if blockname in self.Functions: self.Functions[blockname]["interface"].update(interface) self.Functions[blockname]["extensible"] |= blocktype["extensible"] else: