From 0e23a798bc25f274c7eb3c3fe40e4d1fb679aefe Mon Sep 17 00:00:00 2001
From: Martyn Gigg <martyn.gigg@gmail.com>
Date: Wed, 13 Jul 2016 08:37:04 +0100
Subject: [PATCH] Update pylint-buildscript

Don' remove old logs to keep build results more-or-less consistent
---
 buildconfig/Jenkins/pylint-buildscript | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/buildconfig/Jenkins/pylint-buildscript b/buildconfig/Jenkins/pylint-buildscript
index 873c509c539..eb7152d239f 100755
--- a/buildconfig/Jenkins/pylint-buildscript
+++ b/buildconfig/Jenkins/pylint-buildscript
@@ -8,11 +8,6 @@ if [ -z "$BUILD_DIR" ]; then
   exit 1
 fi
 
-###############################################################################
-# Purge old logs
-###############################################################################
-rm -f $BUILD_DIR/pylint/PYLINT-*
-
 ###############################################################################
 # Check if python files have changed
 ###############################################################################
@@ -26,6 +21,11 @@ then
 fi
 echo "running pylint"
 
+###############################################################################
+# Purge old logs
+###############################################################################
+rm -f $BUILD_DIR/pylint/PYLINT-*
+
 ###############################################################################
 # Print out the versions of things we are using
 ###############################################################################
-- 
GitLab