[Checkins] SVN: zc.sourcefactory/trunk/setup.py readability
Michael Howitz
mh at gocept.com
Thu Aug 28 04:53:12 EDT 2008
Log message for revision 90524:
readability
Changed:
U zc.sourcefactory/trunk/setup.py
-=-
Modified: zc.sourcefactory/trunk/setup.py
===================================================================
--- zc.sourcefactory/trunk/setup.py 2008-08-28 08:52:51 UTC (rev 90523)
+++ zc.sourcefactory/trunk/setup.py 2008-08-28 08:53:10 UTC (rev 90524)
@@ -2,9 +2,10 @@
import os.path
def read_file(*args):
- return open(os.path.join(os.path.dirname(__file__), *args), "r").read()
+ path = os.path.join(os.path.dirname(__file__), *args)
+ file_contents = open(path, "r").read()
+ return file_contents
-
setup(
name="zc.sourcefactory",
version="0.4.0dev",
More information about the Checkins
mailing list