From 3dee38433d1abc2f0282cd2780d21b210db66f4e Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 27 Feb 2014 18:08:37 +0000 Subject: [PATCH] fixed formatting --- lib/damask/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/damask/environment.py b/lib/damask/environment.py index 558a2c9f1..a67c8723b 100644 --- a/lib/damask/environment.py +++ b/lib/damask/environment.py @@ -44,7 +44,7 @@ class Environment(): if licenses[0]-licenses[1] >= Nneeded: return 0 else: - print(licenses[1] + Nneeded - licenses[0], 'missing licenses for %s'%software) + print('%s missing licenses for %s'%(software,licenses[1] + Nneeded - licenses[0])) return licenses[1] + Nneeded - licenses[0] except IndexError: print('Could not retrieve license information for %s'%software)