Commit 0c2f0181 authored by Hartmut Goebel's avatar Hartmut Goebel
Browse files

Removed outdated usage of module `strings`.

parent d58e05c6
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
import os, sys import os, sys
import string
from twisted.python import usage, text from twisted.python import usage, text
...@@ -78,7 +76,7 @@ def greedyWrap(inString, width=80): ...@@ -78,7 +76,7 @@ def greedyWrap(inString, width=80):
# We've gone too far, stop the line one word back. # We've gone too far, stop the line one word back.
ptr_line = ptr_line - 1 ptr_line = ptr_line - 1
(l, inWords) = (inWords[0:ptr_line], inWords[ptr_line:]) (l, inWords) = (inWords[0:ptr_line], inWords[ptr_line:])
outLines.append(string.join(l,' ')) outLines.append(''.join(l))
ptr_line = 0 ptr_line = 0
column = 0 column = 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment