lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject [2/8] lucene-solr:master: os.isdir => os.path.isdir
Date Tue, 24 May 2016 04:19:19 GMT
os.isdir => os.path.isdir


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/54143f5d
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/54143f5d
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/54143f5d

Branch: refs/heads/master
Commit: 54143f5dcbae91d05faa3dfe2e1b3f0d12ff838e
Parents: 8cb2773
Author: Steve Rowe <sarowe@apache.org>
Authored: Mon May 23 15:32:20 2016 -0400
Committer: Steve Rowe <sarowe@apache.org>
Committed: Tue May 24 00:16:54 2016 -0400

----------------------------------------------------------------------
 dev-tools/scripts/buildAndPushRelease.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/54143f5d/dev-tools/scripts/buildAndPushRelease.py
----------------------------------------------------------------------
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py
index a841a8f..6652631 100644
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -195,7 +195,7 @@ def parse_config():
   cwd = os.getcwd()
   os.chdir(config.root)
   config.root = os.getcwd() # Absolutize root dir
-  if os.system('git rev-parse') or 3 != len([d for d in ('dev-tools','lucene','solr') if
os.isdir(d)]):
+  if os.system('git rev-parse') or 3 != len([d for d in ('dev-tools','lucene','solr') if
os.path.isdir(d)]):
     parser.error('Root path "%s" is not a valid lucene-solr checkout' % config.root)
   os.chdir(cwd)
 


Mime
View raw message