Author: hwright
Date: Fri Jun 17 00:45:25 2011
New Revision: 1136746

URL: http://svn.apache.org/viewvc?rev=1136746&view=rev
Log:
release.py: Add a parenthetical comment, and also simplify an expression.

* tools/dist/release.py
  (roll_tarballs): Just use '!=' in the stead of 'not FOO == BAR'.

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=1136746&r1=1136745&r2=1136746&view=diff
==============================================================================
--- subversion/trunk/tools/dist/release.py (original)
+++ subversion/trunk/tools/dist/release.py Fri Jun 17 00:45:25 2011
@@ -31,6 +31,8 @@
 #   as Python version) which may not be common, but are guaranteed to be
 #   available on people.apache.org.
 
+# It'd be kind of nice to use the Subversion python bindings in this script,
+# but people.apache.org doesn't currently have them installed
 
 # Stuff we need
 import os
@@ -257,7 +259,7 @@ def roll_tarballs(base_dir, args):
            raise RuntimeError('Cannot find usable %s' % dep.label)
 
     # Make sure CHANGES is sync'd
-    if not branch == 'trunk':
+    if branch != 'trunk':
         trunk_CHANGES = '%s/trunk/CHANGES@%d' % (repos, args.revnum)
         branch_CHANGES = '%s/branches/%s/CHANGES@%d' % (repos, branch,
                                                         args.revnum)


Reply via email to