pybliographer r1284 - trunk/Pyblio/Output
- From: fredgo svn gnome org
- To: svn-commits-list gnome org
- Subject: pybliographer r1284 - trunk/Pyblio/Output
- Date: Sat, 22 Nov 2008 15:51:55 +0000 (UTC)
Author: fredgo
Date: Sat Nov 22 15:51:54 2008
New Revision: 1284
URL: http://svn.gnome.org/viewvc/pybliographer?rev=1284&view=rev
Log:
Revision: gobry pybliographer org--2007/pyblio--stable--1.2--patch-24
Creator: Frederic Gobry <gobry pybliographer org>
fixed crash in pybtex code
re matches are objects, not strings.
Modified:
trunk/Pyblio/Output/latexutils.py
Modified: trunk/Pyblio/Output/latexutils.py
==============================================================================
--- trunk/Pyblio/Output/latexutils.py (original)
+++ trunk/Pyblio/Output/latexutils.py Sat Nov 22 15:51:54 2008
@@ -109,7 +109,8 @@
# we match a new citation
match = citation_re.search (line)
if match:
- citations += [ref.strip() for ref in match.split(',')]
+ refs = match.group(1)
+ citations += [ref.strip() for ref in refs.split(',')]
continue
# we have to enter an additional .aux file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]