Explorar el Código

Report proper gnuplot version.

If a custom version of gnuplot would be used by setting the GNUPLOT
environment variable, then still the default gnuplot was called to fill
in the gnuplot version number.

Signed-off-by: Sven van Haastregt <svhaastr@liacs.nl>
Sven van Haastregt hace 13 años
padre
commit
f562f98185
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      gitstats

+ 1
- 1
gitstats Ver fichero

@@ -99,7 +99,7 @@ def getgitversion():
99 99
 	return getpipeoutput(['git --version']).split('\n')[0]
100 100
 
101 101
 def getgnuplotversion():
102
-	return getpipeoutput(['gnuplot --version']).split('\n')[0]
102
+	return getpipeoutput(['%s --version' % gnuplot_cmd]).split('\n')[0]
103 103
 
104 104
 class DataCollector:
105 105
 	"""Manages data collection from a revision control repository."""