Skip to content

Commit

Permalink
Fix some pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
flashcode committed Aug 13, 2016
1 parent 85c0696 commit 9d9710c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gitchart.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'


Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 9d9710c

Please sign in to comment.