yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #11116
[Branch ~yade-pkg/yade/git-trunk] Rev 4110: Change stderr to stdout in greeting message.
------------------------------------------------------------
revno: 4110
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Tue 2014-07-22 19:23:17 +0200
message:
Change stderr to stdout in greeting message.
modified:
core/main/main.py.in
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'core/main/main.py.in'
--- core/main/main.py.in 2014-07-22 11:43:38 +0000
+++ core/main/main.py.in 2014-07-22 17:23:17 +0000
@@ -121,7 +121,7 @@
else: os.environ['OMP_NUM_THREADS']='1'
if __name__ == "__main__": # do not print this while importing yade in other python application
- sys.stderr.write('Welcome to Yade '+version+debugbuild+'\n')
+ sys.stdout.write('Welcome to Yade '+version+debugbuild+'\n')
# initialization and c++ plugins import
import yade