fixed formatting

This commit is contained in:
Martin Diehl 2014-02-27 18:08:37 +00:00
parent 27c83f60a6
commit 3dee38433d
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class Environment():
if licenses[0]-licenses[1] >= Nneeded: if licenses[0]-licenses[1] >= Nneeded:
return 0 return 0
else: 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] return licenses[1] + Nneeded - licenses[0]
except IndexError: except IndexError:
print('Could not retrieve license information for %s'%software) print('Could not retrieve license information for %s'%software)