From 9d9710c389d16d55e3572ea48f4885efa68f45cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 13 Aug 2016 17:19:01 +0200 Subject: [PATCH] Fix some pylint warnings --- gitchart.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gitchart.py b/gitchart.py index deb95ac..6243bc7 100755 --- a/gitchart.py +++ b/gitchart.py @@ -41,13 +41,14 @@ import argparse import datetime import os -import pygal import re import select import subprocess import sys import traceback +import pygal + VERSION = '1.3-dev' @@ -353,7 +354,7 @@ def generate(self): try: # call method to build chart (name of method is dynamic) return getattr(self, '_chart_' + self.chart_name)() - except Exception: + except Exception: # pylint: disable=broad-except traceback.print_exc() return False