All pastes #897911 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-02-09 22:39 UTC
rendered paste body
7     elif check == "1":
 68         print "Give the new return date in yyyy-mm-dd form:"
 69         new_date = raw_input()
 70         try:
 71         query1(new_date)
 72     except psycopg2.IntegrityError:
 73         print "i imerominia pou dosate proigeitai tis imerominias daneismou\n"
 74     except psycopg2.ProgrammingError:
 75         print "min egkuri imeromonia. format: yyyy-mm-dd\n"