How about this instead? `print "No inputs found of type '%s'" % input_type`