changeset 11758:4ac92e735a16

pylint fixes (retry)
author Mick Jordan <mick.jordan@oracle.com>
date Mon, 23 Sep 2013 21:57:44 -0700
parents ec058ce90a3d
children 8bcd76c3f23b
files mx/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mx/commands.py	Mon Sep 23 21:35:12 2013 -0700
+++ b/mx/commands.py	Mon Sep 23 21:57:44 2013 -0700
@@ -1009,6 +1009,7 @@
     if args.jacocout is not None:
         jacocoreport([args.jacocout])
 
+    global _jacoco
     _jacoco = 'off'
 
     t = Task('CleanAndBuildGraalVisualizer')
@@ -1098,7 +1099,6 @@
         if exists('jacoco.exec'):
             os.unlink('jacoco.exec')
 
-        global _jacoco
         if args.jacocout is not None:
             _jacoco = 'append'
         else: