[Assorted-commits] SF.net SVN: assorted: [693] python-commons/trunk
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-04-30 17:41:53
|
Revision: 693 http://assorted.svn.sourceforge.net/assorted/?rev=693&view=rev Author: yangzhang Date: 2008-04-30 10:42:00 -0700 (Wed, 30 Apr 2008) Log Message: ----------- removed extraneous prints, minor upgrade release Modified Paths: -------------- python-commons/trunk/publish.bash python-commons/trunk/setup.py python-commons/trunk/src/commons/files.py Modified: python-commons/trunk/publish.bash =================================================================== --- python-commons/trunk/publish.bash 2008-04-30 07:06:19 UTC (rev 692) +++ python-commons/trunk/publish.bash 2008-04-30 17:42:00 UTC (rev 693) @@ -5,7 +5,7 @@ } fullname='Python Commons' -version=0.3 +version=0.3.1 license=psf websrcs=( README ) rels=( pypi: ) Modified: python-commons/trunk/setup.py =================================================================== --- python-commons/trunk/setup.py 2008-04-30 07:06:19 UTC (rev 692) +++ python-commons/trunk/setup.py 2008-04-30 17:42:00 UTC (rev 693) @@ -9,7 +9,7 @@ pkg_info_text = """ Metadata-Version: 1.1 Name: python-commons -Version: 0.3 +Version: 0.3.1 Author: Yang Zhang Author-email: yaaang NOSPAM at REMOVECAPS gmail Home-page: http://assorted.sourceforge.net/python-commons Modified: python-commons/trunk/src/commons/files.py =================================================================== --- python-commons/trunk/src/commons/files.py 2008-04-30 07:06:19 UTC (rev 692) +++ python-commons/trunk/src/commons/files.py 2008-04-30 17:42:00 UTC (rev 693) @@ -135,7 +135,6 @@ with file( path ) as f: cache_version = load(f) except IOError, (errno, errstr): if errno != 2: raise - print cache_version, fresh_version if cache_version is None or fresh_version > cache_version: with file( path, 'w' ) as f: dump(fresh_version, f) return True @@ -164,11 +163,9 @@ """ if versioned_guard( version_path, fresh_version ): # cache obsolete, force-fetch new data - print 'here' result = cache_func() with file(cache_path, 'w') as f: dump(result, f) return result else: # cache up-to-date (should be available since dlcs-timestamp exists!) - print 'there' with file(cache_path) as f: return load(f) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |