You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2011/07/13 21:00:16 UTC
svn commit: r1146228 - /subversion/trunk/tools/dist/release.py
Author: hwright
Date: Wed Jul 13 19:00:15 2011
New Revision: 1146228
URL: http://svn.apache.org/viewvc?rev=1146228&view=rev
Log:
release.py: String-ify the Version objects for use by ezt. (I would have
thought that ezt would have done this for us, but apparently not.)
* tools/dist/release.py
(post_candidates, write_announcement): Manually stringify a Version object.
Modified:
subversion/trunk/tools/dist/release.py
Modified: subversion/trunk/tools/dist/release.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/release.py?rev=1146228&r1=1146227&r2=1146228&view=diff
==============================================================================
--- subversion/trunk/tools/dist/release.py (original)
+++ subversion/trunk/tools/dist/release.py Wed Jul 13 19:00:15 2011
@@ -425,7 +425,7 @@ def post_candidates(args):
target = args.target
else:
target = os.path.join(os.getenv('HOME'), 'public_html', 'svn',
- args.version)
+ str(args.version))
if args.code_name:
dirname = args.code_name
@@ -435,7 +435,7 @@ def post_candidates(args):
if not os.path.exists(target):
os.makedirs(target)
- data = { 'version' : args.version,
+ data = { 'version' : str(args.version),
'revnum' : args.revnum,
'dirname' : dirname,
}
@@ -532,7 +532,7 @@ def write_announcement(args):
'Write the release announcement.'
sha1info = get_sha1info(args)
- data = { 'version' : args.version,
+ data = { 'version' : str(args.version),
'sha1info' : sha1info,
'siginfo' : open('getsigs-output', 'r').read(),
'major-minor' : args.version.base[:3],
Re: svn commit: r1146228 - /subversion/trunk/tools/dist/release.py
Posted by Greg Stein <gs...@gmail.com>.
On Wed, Jul 13, 2011 at 15:00, <hw...@apache.org> wrote:
> Author: hwright
> Date: Wed Jul 13 19:00:15 2011
> New Revision: 1146228
>
> URL: http://svn.apache.org/viewvc?rev=1146228&view=rev
> Log:
> release.py: String-ify the Version objects for use by ezt. (I would have
> thought that ezt would have done this for us, but apparently not.)
That would be troublesome. Just give it the type that you intend
rather than funny objects :-P
Cheers,
-g