[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] navidoc/navidoc/directives pegboard.py
From: |
Asko Soukka |
Subject: |
[Gzz-commits] navidoc/navidoc/directives pegboard.py |
Date: |
Tue, 29 Apr 2003 05:14:22 -0400 |
CVSROOT: /cvsroot/navidoc
Module name: navidoc
Changes by: Asko Soukka <address@hidden> 03/04/29 05:14:22
Modified files:
navidoc/directives: pegboard.py
Log message:
cpython fix
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/navidoc/navidoc/navidoc/directives/pegboard.py.diff?tr1=1.18&tr2=1.19&r1=text&r2=text
Patches:
Index: navidoc/navidoc/directives/pegboard.py
diff -u navidoc/navidoc/directives/pegboard.py:1.18
navidoc/navidoc/directives/pegboard.py:1.19
--- navidoc/navidoc/directives/pegboard.py:1.18 Tue Apr 29 04:28:59 2003
+++ navidoc/navidoc/directives/pegboard.py Tue Apr 29 05:14:22 2003
@@ -19,7 +19,7 @@
# MA 02111-1307 USA
#
-# $Id: pegboard.py,v 1.18 2003/04/29 08:28:59 humppake Exp $
+# $Id: pegboard.py,v 1.19 2003/04/29 09:14:22 humppake Exp $
#
# Written by Benja Fallensten, Vesa Kaihlavirta, Asko Soukka
@@ -291,7 +291,8 @@
para = nodes.paragraph()
entry += para
- if isinstance(__node, type('')):
+ if isinstance(__node, type('')) or \
+ isinstance(__node, type(u'')):
str = __node
#mark literates
if str.count('``')%2 == 0:
@@ -304,7 +305,6 @@
str = str[str.find('``')+2:len(str)]
__node = nodes.Text(str)
-# print "poks"
para += __node
return entry