ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [incubator-ponymail] branch master updated: pylint: narrow catch
Date Sun, 20 May 2018 13:49:36 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git


The following commit(s) were added to refs/heads/master by this push:
     new 05555b0  pylint: narrow catch
05555b0 is described below

commit 05555b02ad6eb9c430dd4f7a170a4f04dc7a6d06
Author: Sebb <sebb@apache.org>
AuthorDate: Sun May 20 14:49:35 2018 +0100

    pylint: narrow catch
---
 tools/list-lists.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/list-lists.py b/tools/list-lists.py
index 47df5f1..6509efc 100755
--- a/tools/list-lists.py
+++ b/tools/list-lists.py
@@ -23,7 +23,7 @@ import json
 
 try:
     from elasticsearch import Elasticsearch
-except:
+except ImportError:
     print("Sorry, you need to install the elasticsearch module from pip first.")
     sys.exit(-1)
     

-- 
To stop receiving notification emails like this one, please contact
sebb@apache.org.

Mime
View raw message