commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9945 - in trunk/gnue-common/src: base utils


From: reinhard
Subject: [gnue] r9945 - in trunk/gnue-common/src: base utils
Date: Thu, 8 Oct 2009 01:51:59 -0500 (CDT)

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:
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]