mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-07 15:42:34 +02: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:
parent
d2faec8c7d
commit
03141e6421
@ -18107,3 +18107,6 @@
|
||||
2018-12-06 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Removed support for the 'priv' argument in callbacks in PyPAD
|
||||
scripts.
|
||||
2018-12-06 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added support for '\b', '\f', '\n' '\r' and '\t' control escapes
|
||||
in the 'PyPADUpdate::padFields()' method.
|
||||
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user