diff options
Diffstat (limited to 'doc/user/tasks.in')
-rw-r--r-- | doc/user/tasks.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/user/tasks.in b/doc/user/tasks.in index c51ad36..434871f 100644 --- a/doc/user/tasks.in +++ b/doc/user/tasks.in @@ -74,9 +74,8 @@ if filename.find(old_prefix) == 0: <simpara>or in Python 1.5.2:</simpara> <programlisting> -import string -if string.find(filename, old_prefix) == 0: - filename = string.replace(filename, old_prefix, new_prefix) +if filename.find(old_prefix) == 0: + filename = filename.replace(old_prefix, new_prefix) </programlisting> </example> |