raiseTypeError("This method takes either a namespace index and a string as argument or a nodeid and a qualifiedname. Received arguments {} and got exception {}".format(args,ex))
raiseTypeError("This method takes either a namespace index and a string as argument or a nodeid and a qualifiedname. Received arguments {0} and got exception {1}".format(args,ex))
print("Error while reordering structs, some structs could not be reinserted, had {} structs, we now have {} structs".format(len(model.structs),len(newstructs)))
print("Error while reordering structs, some structs could not be reinserted, had {0} structs, we now have {1} structs".format(len(model.structs),len(newstructs)))
s1=set(model.structs)
s2=set(newstructs)
rest=s1-s2
print("Variant"intypes)
forsins1-s2:
print("{} is waiting for: {}".format(s,s.waitingfor))
print("{0} is waiting for: {1}".format(s,s.waitingfor))