[oe-commits] org.oe.dev python 2.5.2 silence sitecustomize.py

mickeyl commit openembedded-commits at lists.openembedded.org
Thu Feb 28 12:03:57 UTC 2008


python 2.5.2 silence sitecustomize.py

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: afcd0ed729492c2094fdead173c36c2084ece1bc
ViewMTN: http://monotone.openembedded.org/revision/info/afcd0ed729492c2094fdead173c36c2084ece1bc
Files:
1
packages/python/python-2.5.2/sitecustomize.py
Diffs:

#
# mt diff -r42b4313e241f06f8b8124155acda28276d20dc46 -rafcd0ed729492c2094fdead173c36c2084ece1bc
#
# 
# 
# patch "packages/python/python-2.5.2/sitecustomize.py"
#  from [37922f91ecd1cbccb466f30c120aeabfd2a0ae05]
#    to [c40f5efdb53149377b28215c2040a8158463d4aa]
# 
============================================================
--- packages/python/python-2.5.2/sitecustomize.py	37922f91ecd1cbccb466f30c120aeabfd2a0ae05
+++ packages/python/python-2.5.2/sitecustomize.py	c40f5efdb53149377b28215c2040a8158463d4aa
@@ -37,9 +37,8 @@ except ImportError:
 try:
     import rlcompleter, readline
 except ImportError:
-    sys.stderr.write( "Python %s (OpenEmbedded build) sitecustomize.py not active. Please install python-readline.\n" % sys.version.split()[0] )
+    pass
 else:
     __enableDefaultEncoding()
     __registerExitHandler()
     __enableReadlineSupport()
-    sys.stderr.write( "Python %s (OpenEmbedded build) sitecustomize.py active.\n" % sys.version.split()[0] )






More information about the Openembedded-commits mailing list