[ckan-changes] commit/ckanextiati: amercader: Fix log message
Bitbucket
commits-noreply at bitbucket.org
Fri Oct 28 16:47:16 UTC 2011
1 new commit in ckanextiati:
https://bitbucket.org/okfn/ckanextiati/changeset/4753d8b384af/
changeset: 4753d8b384af
branch: spreadsheet-support
user: amercader
date: 2011-10-28 18:47:02
summary: Fix log message
affected #: 1 file
diff -r 09e2caa604cc81298477161abe2f13acc702196c -r 4753d8b384afaebee0de6fa64629f4f01e0280c2 ckanext/iati/controllers/spreadsheet.py
--- a/ckanext/iati/controllers/spreadsheet.py
+++ b/ckanext/iati/controllers/spreadsheet.py
@@ -215,7 +215,7 @@
errors[row_index][iati_key] = msgs
except NotAuthorized,e:
msg = 'Not authorized to publish to this group: %s' % row['registry-publisher-id']
- log.error('Error in row %i: %s' % msg)
+ log.error('Error in row %i: %s' % (i+1,msg))
errors[row_index]['registry-publisher-id'] = [msg]
errors = sorted(errors.iteritems())
Repository URL: https://bitbucket.org/okfn/ckanextiati/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list