python-stdnum commit: r17 - python-stdnum/stdnum/isbn
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
python-stdnum commit: r17 - python-stdnum/stdnum/isbn
- From: "Commits of the python-stdnum project." <python-stdnum-commits [at] lists.arthurdejong.org>
- To: python-stdnum-commits [at] lists.arthurdejong.org
- Reply-to: python-stdnum-users [at] lists.arthurdejong.org
- Subject: python-stdnum commit: r17 - python-stdnum/stdnum/isbn
- Date: Tue, 27 Jul 2010 22:14:41 +0200 (CEST)
Author: arthur
Date: Tue Jul 27 22:14:40 2010
New Revision: 17
URL: http://arthurdejong.org/viewvc/python-stdnum?view=rev&revision=17
Log:
fix typo in output() function
Modified:
python-stdnum/stdnum/isbn/ranges.py
Modified: python-stdnum/stdnum/isbn/ranges.py
==============================================================================
--- python-stdnum/stdnum/isbn/ranges.py Tue Jul 27 22:14:19 2010 (r16)
+++ python-stdnum/stdnum/isbn/ranges.py Tue Jul 27 22:14:40 2010 (r17)
@@ -381,7 +381,7 @@
# print the actual prefixes
prefixes = _prefixes.items()
prefixes.sort()
- for prefix, ragnes in prefixes:
+ for prefix, ranges in prefixes:
for line in _wrap(' '.join(r[1] + '-' + r[2] for r in ranges), 77 -
len(prefix)):
fp.write('%s %s\n' % ( prefix, line ) )
# print the footer if the header was printed
--
To unsubscribe send an email to
python-stdnum-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/python-stdnum-commits
- python-stdnum commit: r17 - python-stdnum/stdnum/isbn,
Commits of the python-stdnum project.