mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-30 17:23:53 +01:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user