| 1 |
From e3e98f2fd226f0083ea8bfe2c32d6aa03495ac0f Mon Sep 17 00:00:00 2001 |
| 2 |
From: Florian Sesser <[email protected]> |
| 3 |
Date: Thu, 16 Jan 2025 22:16:30 +0000 |
| 4 |
Subject: [PATCH] Fix a SyntaxWarning due to an invalid escape sequence |
| 5 |
|
| 6 |
--- |
| 7 |
src/foolscap/logging/gatherer.py | 3 +-- |
| 8 |
1 file changed, 1 insertion(+), 2 deletions(-) |
| 9 |
|
| 10 |
--- a/src/foolscap/logging/gatherer.py |
| 11 |
+++ b/src/foolscap/logging/gatherer.py |
| 12 |
@@ -519,8 +519,7 @@ |
| 13 |
return categories |
| 14 |
|
| 15 |
|
| 16 |
-INCIDENT_GATHERER_TACFILE = """\ |
| 17 |
-# -*- python -*- |
| 18 |
+INCIDENT_GATHERER_TACFILE = r"""# -*- python -*- |
| 19 |
|
| 20 |
# we record the path when 'flogtool create-incident-gatherer' is run, in case |
| 21 |
# flogtool was run out of a source tree. This is somewhat fragile, of course. |