From dbf7cb1a442e2c0823d853ca310395048496996d Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 2 Jul 2016 02:01:46 -0700 Subject: update examples: no decoded() anymore :tada: --- examples/custom_contentviews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/custom_contentviews.py') 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 -- cgit v1.2.3