From 0adb5cd766b4087f340045131e48641763d5bf63 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Sat, 25 Jun 2016 10:27:20 +0200 Subject: [PATCH] Correct show_pull_evolution.py script --- examples/show_pull_evolution.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/show_pull_evolution.py b/examples/show_pull_evolution.py index 8715dcd..5066e9d 100755 --- a/examples/show_pull_evolution.py +++ b/examples/show_pull_evolution.py @@ -22,10 +22,10 @@ import sys import csv try: import matplotlib.pyplot as plt -except: - print('This script needs the "matplotlib" module') plt.figure() plt.close() +except: + print('This script needs the "matplotlib" module') sys.exit() try: import numpy as np -- libgit2 0.21.4