@@ -95,7 +95,7 @@ class node. Any parts of other types are each stored in separate files
9595from __future__ import print_function
9696__docformat__ = 'restructuredtext'
9797
98- import string , re , os , mimetools , smtplib , socket , binascii , quopri
98+ import re , os , mimetools , smtplib , socket , binascii , quopri
9999import time , random , sys , logging
100100import codecs
101101import traceback
@@ -1555,7 +1555,7 @@ def handle_Message(self, message):
15551555 except MailUsageHelp :
15561556 # bounce the message back to the sender with the usage message
15571557 self .logger .debug ("MailUsageHelp raised, bouncing." )
1558- fulldoc = '\n ' .join (string .split (__doc__ , '\n ' )[2 :])
1558+ fulldoc = '\n ' .join (__doc__ .split ('\n ' )[2 :])
15591559 m = ['' ]
15601560 m .append ('\n \n Mail Gateway Help\n =================' )
15611561 m .append (fulldoc )
@@ -1564,7 +1564,7 @@ def handle_Message(self, message):
15641564 except MailUsageError as value :
15651565 # bounce the message back to the sender with the usage message
15661566 self .logger .debug ("MailUsageError raised, bouncing." )
1567- fulldoc = '\n ' .join (string .split (__doc__ , '\n ' )[2 :])
1567+ fulldoc = '\n ' .join (__doc__ .split ('\n ' )[2 :])
15681568 m = ['' ]
15691569 m .append (str (value ))
15701570 m .append ('\n \n Mail Gateway Help\n =================' )
@@ -1719,7 +1719,7 @@ def setPropArrayFromString(self, cl, propString, nodeid=None):
17191719 '''
17201720 props = {}
17211721 errors = []
1722- for prop in string .split (propString , ';' ):
1722+ for prop in propString .split (';' ):
17231723 # extract the property name and value
17241724 try :
17251725 propname , value = prop .split ('=' )
0 commit comments