2018-12-06 Fred Gleason <fredg@paravelsystems.com>

* Added support for '\b', '\f', '\n' '\r' and '\t' control escapes
	in the 'PyPADUpdate::padFields()' method.
This commit is contained in:
Fred Gleason
2018-12-06 17:49:00 -05:00
parent d2faec8c7d
commit 03141e6421
2 changed files with 8 additions and 0 deletions

View File

@@ -128,6 +128,11 @@ class PyPADUpdate(object):
string=self.__replace('%'+chr(i),string)
for i in range(101,123):
string=self.__replace('%'+chr(i),string)
string=string.replace('\\b','\b')
string=string.replace('\\f','\f')
string=string.replace('\\n','\n')
string=string.replace('\\r','\r')
string=string.replace('\\t','\t')
return string
def hasNowPad(self):