From: Mark Wooding Date: Sat, 1 Jun 2024 03:19:21 +0000 (+0100) Subject: fshash.in: Rename `RX_RSYNCESC' to `R_RSYNCESC'. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/rsync-backup/commitdiff_plain/57c65f148c26d9e9a570d5b8335cd51356a67d40?ds=inline fshash.in: Rename `RX_RSYNCESC' to `R_RSYNCESC'. I don't think I've ever used the former convention anywhere else. --- diff --git a/fshash.in b/fshash.in index 14d45b4..6eb33be 100644 --- a/fshash.in +++ b/fshash.in @@ -129,7 +129,7 @@ def enum_find0(f, func): if len(tail): moan("ignored trailing junk after last filename") -RX_RSYNCESC = RX.compile(r'\\ \# ([0-7]{3})', RX.VERBOSE) +R_RSYNCESC = RX.compile(r'\\ \# ([0-7]{3})', RX.VERBOSE) def enum_rsync(f, func): ## The format is a little fiddly. Each line consists of PERMS SIZE DATE @@ -160,7 +160,7 @@ def enum_rsync(f, func): name = tail[spc + 1:] ## Now translate escape sequences. - name = RX_RSYNCESC.sub(lambda m: chr(int(m.group(1), 8)), name) + name = R_RSYNCESC.sub(lambda m: chr(int(m.group(1), 8)), name) ## Call the client. try: