enipla

Simple syntax error in Pre-Logic Code Block

Discussion created by enipla on Jul 24, 2012
Latest reply on Jul 24, 2012 by enipla
I just don't see what is wrong here.  I'm getting a syntax error on line 2

Expression -

Reclass(!water!)



Code Block -

def Reclass(wType):
  if wType = "1":
     return "None"
  else:
     return "5"

... Any ideas?

Outcomes