aboutsummaryrefslogtreecommitdiffstats
path: root/examples/custom_contentviews.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/custom_contentviews.py')
-rw-r--r--examples/custom_contentviews.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom_contentviews.py b/examples/custom_contentviews.py
index 05ebeb69..8a57bf74 100644
--- a/examples/custom_contentviews.py
+++ b/examples/custom_contentviews.py
@@ -20,7 +20,7 @@ class ViewPigLatin(contentviews.View):
docinfo = d.getroottree().docinfo
def piglify(src):
- words = string.split(src)
+ words = src.split()
ret = ''
for word in words:
idx = -1