##// END OF EJS Templates
Error comparing "code == None", it was replaced by "code is None:"
Miguel Valdez -
r674:a8c22d5c048b
parent child
Show More
@@ -655,7 +655,7 class Decoder(Operation):
655 if not self.isConfig:
655 if not self.isConfig:
656
656
657 if code is None:
657 if code is None:
658 if not dataOut.code:
658 if dataOut.code is None:
659 print "Code is not defined"
659 print "Code is not defined"
660 raise ValueError, "Code could not be read from %s object. Enter a value in Code parameter" %dataOut.type
660 raise ValueError, "Code could not be read from %s object. Enter a value in Code parameter" %dataOut.type
661
661
General Comments 0
You need to be logged in to leave comments. Login now