ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhangqi...@apache.org
Subject ranger git commit: RANGER-1605:These invalid codes that were copied have not been deleted in db_setup.py for the Ranger admin
Date Wed, 24 May 2017 00:52:20 GMT
Repository: ranger
Updated Branches:
  refs/heads/master 56a93f6e4 -> d7c0b7a43


RANGER-1605:These invalid codes that were copied have not been deleted in db_setup.py for
the Ranger admin

Signed-off-by: peng.jianhua <peng.jianhua@zte.com.cn>


Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/d7c0b7a4
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/d7c0b7a4
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/d7c0b7a4

Branch: refs/heads/master
Commit: d7c0b7a43e1fb1caaaa372495ba8b16a27243197
Parents: 56a93f6
Author: peng.jianhua <peng.jianhua@zte.com.cn>
Authored: Tue May 23 04:42:56 2017 -0400
Committer: peng.jianhua <peng.jianhua@zte.com.cn>
Committed: Wed May 24 08:52:01 2017 +0800

----------------------------------------------------------------------
 security-admin/scripts/db_setup.py | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/d7c0b7a4/security-admin/scripts/db_setup.py
----------------------------------------------------------------------
diff --git a/security-admin/scripts/db_setup.py b/security-admin/scripts/db_setup.py
index b5ab132..79d79d0 100644
--- a/security-admin/scripts/db_setup.py
+++ b/security-admin/scripts/db_setup.py
@@ -500,8 +500,6 @@ class MysqlConf(BaseDB):
 				for filename in files:
 					f = re.match("^Patch.*?.class$",filename)
 					if f:
-						className = re.match("(Patch.*?)_.*.class",filename)
-						className = className.group(1)
 						version = re.match("Patch.*?_(.*).class",filename)
 						version = version.group(1)
 						key3 = int(version.strip("J"))


Mime
View raw message