else:
if cdef.validate_type(variable_type, answer):
cwrite.set(category_id, variable_id, answer)
+ return
else:
print "Not a valid value"
global service
while True:
try:
- answer = raw_input("Enter command (u for usual changes, w to save, ? for help) ").strip(" ")
+ answer = raw_input("Enter command (u for usual changes, w to save, ? for help) ").strip()
except EOFError:
answer =""
except KeyboardInterrupt: