Repository: spark
Updated Branches:
refs/heads/master 8712653f1 -> 64d8ecbbe
Add line continuation for script to work w/ py2.7.5
Error was -
$ SPARK_HOME=$PWD/dist ./dev/create-release/generate-changelist.py
File "./dev/create-release/generate-changelist.py", line 128
if day < SPARK_REPO_CHANGE_DATE1 or
^
SyntaxError: invalid syntax
Author: Matthew Farrellee <[email protected]>
Closes #2139 from mattf/master-fix-generate-changelist.py-0 and squashes the
following commits:
6b3a900 [Matthew Farrellee] Add line continuation for script to work w/ py2.7.5
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/64d8ecbb
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/64d8ecbb
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/64d8ecbb
Branch: refs/heads/master
Commit: 64d8ecbbe94c47236ff2d8c94d7401636ba6fca4
Parents: 8712653
Author: Matthew Farrellee <[email protected]>
Authored: Wed Aug 27 15:50:30 2014 -0700
Committer: Patrick Wendell <[email protected]>
Committed: Wed Aug 27 15:50:30 2014 -0700
----------------------------------------------------------------------
dev/create-release/generate-changelist.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/64d8ecbb/dev/create-release/generate-changelist.py
----------------------------------------------------------------------
diff --git a/dev/create-release/generate-changelist.py
b/dev/create-release/generate-changelist.py
index de1b5d4..2e1a35a 100755
--- a/dev/create-release/generate-changelist.py
+++ b/dev/create-release/generate-changelist.py
@@ -125,8 +125,8 @@ for h in hashes:
pr_num = [line.split()[1].lstrip("#") for line in body_lines if
"Closes #" in line][0]
github_url = "github.com/apache/spark/pull/%s" % pr_num
day = time.strptime(date.split()[0], "%Y-%m-%d")
- if day < SPARK_REPO_CHANGE_DATE1 or
- (day < SPARK_REPO_CHANGE_DATE2 and pr_num <
SPARK_REPO_PR_NUM_THRESH):
+ if (day < SPARK_REPO_CHANGE_DATE1 or
+ (day < SPARK_REPO_CHANGE_DATE2 and pr_num <
SPARK_REPO_PR_NUM_THRESH)):
github_url = "github.com/apache/incubator-spark/pull/%s" %
pr_num
append_to_changelist(" %s" % subject)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]