Fix flake8 errors.

This commit is contained in:
Fekete Mihai
2014-11-18 08:59:57 +02:00
parent 70748150e6
commit d9e0a0151c

View File

@@ -238,7 +238,8 @@ class Currency_rate_update_service(models.Model):
else:
raise exceptions.Warning(_('There is no base currency set!'))
if main_curr.rate != 1:
raise exceptions.Warning(_('Base currency rate should be 1.00!'))
raise exceptions.Warning(_('Base currency rate should '
'be 1.00!'))
note = self.note or ''
try:
# We initalize the class that will handle the request