develop
asamoukin 15 years ago
parent a9df6371ed
commit 0fef3dba2c

@ -2184,10 +2184,9 @@ class profile(_file, _terms):
print _("error local var %s not defined")\ print _("error local var %s not defined")\
%str(strNum) %str(strNum)
exit(1) exit(1)
if minus: if minus:
strNumers.append(-num) num =-num
else: strNumers.append(num)
strNumers.append(num)
return sum(strNumers) return sum(strNumers)
print _("error in profile %s")%nameProfile print _("error in profile %s")%nameProfile
print _("error profile term %s, incorrect data")%str(term) print _("error profile term %s, incorrect data")%str(term)

Loading…
Cancel
Save