Author: reinhard
Date: 2009-10-08 01:51:58 -0500 (Thu, 08 Oct 2009)
New Revision: 9945
Modified:
trunk/gnue-common/src/base/setup.py
trunk/gnue-common/src/utils/file.py
Log:
Small fixes.
Modified: trunk/gnue-common/src/base/setup.py
===================================================================
--- trunk/gnue-common/src/base/setup.py 2009-10-07 15:44:08 UTC (rev 9944)
+++ trunk/gnue-common/src/base/setup.py 2009-10-08 06:51:58 UTC (rev 9945)
@@ -126,7 +126,7 @@
# Import the package root module
# -----------------------------------------------------------------------------
-if __name__ = '__main__': # To make epydoc happy
+if __name__ == '__main__': # To make epydoc happy
import src as package_info
# -----------------------------------------------------------------------------
Modified: trunk/gnue-common/src/utils/file.py
===================================================================
--- trunk/gnue-common/src/utils/file.py 2009-10-07 15:44:08 UTC (rev 9944)
+++ trunk/gnue-common/src/utils/file.py 2009-10-08 06:51:58 UTC (rev 9945)
@@ -61,7 +61,7 @@
Example 1:
- >>> to_buffer('This is text\nFoo.').read()
+ >>> to_buffer('This is text\\nFoo.').read()
Example 2:
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.