diff options
author | Chris Oloff <chris@uber5.com> | 2024-07-24 12:49:29 +0200 |
---|---|---|
committer | Chris Oloff <chris@uber5.com> | 2024-07-24 12:49:31 +0200 |
commit | 0245f5f5d9d9c1891a7a24d27e1ecc3c21f65e55 (patch) | |
tree | d4ee1a9324bacd5e4c86fd93f24ac1b2181dcc33 | |
parent | 0c323a569f2774431fcef2e5fe4b5c425ab572b2 (diff) | |
download | fork-ledger-0245f5f5d9d9c1891a7a24d27e1ecc3c21f65e55.tar.gz fork-ledger-0245f5f5d9d9c1891a7a24d27e1ecc3c21f65e55.tar.bz2 fork-ledger-0245f5f5d9d9c1891a7a24d27e1ecc3c21f65e55.zip |
Fix acprep script
The script has a syntax error, caused by commit 815305b9: in escape_string()
function the first argument to re.sub() was probably changed unintentionally.
This reverts this one line. To test, I used acprep to build the binary locally,
which succeeded. More testing might be needed, I don't have enough context to
do that.
-rwxr-xr-x | acprep | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -840,7 +840,7 @@ class PrepareBuild(CommandLineApp): PrepareBuild.__dict__['setup_flavor_' + self.current_flavor](self) def escape_string(self, data): - return re.sub(r'(['\\\\])', '\\\\\\1', data) + return re.sub(r'(["\\\\])', '\\\\\\1', data) def finalize_config(self): self.setup_flavor() |