dataimport.py
branchstable
changeset 7170 32b5d9d43a7e
parent 7160 923013173031
child 7171 4297be67bbe4
equal deleted inserted replaced
7163:d6d905d0344f 7170:32b5d9d43a7e
   183             for func in funcs:
   183             for func in funcs:
   184                 res[dest] = func(res[dest])
   184                 res[dest] = func(res[dest])
   185                 if res[dest] is None:
   185                 if res[dest] is None:
   186                     break
   186                     break
   187         except ValueError, err:
   187         except ValueError, err:
   188             raise ValueError('error with %r field: %s' % (src, err))
   188             raise ValueError('error with %r field: %s' % (src, err)), None, sys.exc_info()[-1]
   189     return res
   189     return res
   190 
   190 
   191 # user interactions ############################################################
   191 # user interactions ############################################################
   192 
   192 
   193 def tell(msg):
   193 def tell(msg):