I\'m working on a django field validation and I can\'t figure out why I\'m getting a type error for this section:
def clean_tid(self): data = self.cleaned_da
Check your parenthesis.
Wrong
stdout_handel = os.popen("/var/www/nsmweb/jre1.6.0_14/bin/java -jar /var/www/nsmweb/sla.jar -t %s grep -v DAN") % data
Might be right.
stdout_handel = os.popen("/var/www/nsmweb/jre1.6.0_14/bin/java -jar /var/www/nsmweb/sla.jar -t %s grep -v DAN" % data )