# HG changeset patch # User Pierre-Yves David # Date 1272034905 -7200 # Node ID 03c641ae00a6da6173fb31106d275766b6dffd66 # Parent e0ab7433e6401c378ad0ae6ea6eb093c10cd41de [cw-shell] Write ignored scripts warning on stderr instead of stdout. diff -r e0ab7433e640 -r 03c641ae00a6 server/migractions.py --- a/server/migractions.py Fri Apr 23 17:32:47 2010 +0200 +++ b/server/migractions.py Fri Apr 23 17:01:45 2010 +0200 @@ -116,10 +116,10 @@ return super(ServerMigrationHelper, self).cmd_process_script( migrscript, funcname, *args, **kwargs) else: - print - print ('-> ignoring %s, only .py .sql and .txt scripts are considered' % + print >> sys.stderr + print >> sys.stderr, ('-> ignoring %s, only .py .sql and .txt scripts are considered' % migrscript) - print + print >> sys.stderr self.commit() except: self.rollback()