better error message

This commit is contained in:
Thomas Nagy 2012-07-20 20:16:25 +02:00
parent 070669067a
commit b6771c2055
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ def check_same_targets(self):
for (k, v) in mp.items():
if len(v) > 1:
dupe = True
msg = '* Node %r is created by more than once%s. The task generators are:' % (k, Logs.verbose == 1 and " (full message on 'waf -v -v')" or "")
msg = '* Node %r is created more than once%s. The task generators are:' % (k, Logs.verbose == 1 and " (full message on 'waf -v -v')" or "")
Logs.error(msg)
for x in v:
if Logs.verbose > 1: