You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by sd...@apache.org on 2015/08/14 09:28:40 UTC

[06/50] [abbrv] incubator-sentry git commit: SENTRY-789: Jenkins should support test branch with special character (Dapeng Sun, reviewed by Guoquan Shen)

SENTRY-789: Jenkins should support test branch with special character (Dapeng Sun, reviewed by Guoquan Shen)


Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/17fcc4d4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/17fcc4d4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/17fcc4d4

Branch: refs/heads/hive_plugin_v2
Commit: 17fcc4d46e5a1eafd4c9780723aeecf84c0215dc
Parents: 1556781
Author: Sun Dapeng <sd...@apache.org>
Authored: Thu Jul 2 15:19:47 2015 +0800
Committer: Sun Dapeng <sd...@apache.org>
Committed: Thu Jul 2 15:19:47 2015 +0800

----------------------------------------------------------------------
 dev-support/test-patch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/17fcc4d4/dev-support/test-patch.py
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.py b/dev-support/test-patch.py
index d36e7fd..f9f79ea 100644
--- a/dev-support/test-patch.py
+++ b/dev-support/test-patch.py
@@ -283,7 +283,7 @@ if defect:
     sys.exit(1)
   result.attachment = attachment
   # parse branch info
-  branchPattern = re.compile('/secure/attachment/\d+/%s(\.\d+)-(\w+)\.(patch|txt|patch.\txt)' % (re.escape(defect)))
+  branchPattern = re.compile('/secure/attachment/\d+/%s(\.\d+)-(\S+)\.(patch|txt|patch.\txt)' % (re.escape(defect)))
   try:
     branchInfo = re.search(branchPattern,attachment)
     if branchInfo: