use stderr closes #470

This commit is contained in:
Juke 2011-02-09 02:27:25 +01:00 committed by Romain Bignon
commit 73e7d50e7f

View file

@ -1080,7 +1080,7 @@ class ReplApplication(Cmd, BaseApplication):
except FieldNotFound, e:
print e
except MandatoryFieldsNotFound, e:
print '%s Hint: select missing fields or use another formatter (ex: multiline).' % e
print >> sys.stderr, '%s Hint: select missing fields or use another formatter (ex: multiline).' % e
def flush(self):
self.formatter.flush()