diff options
| author | pepper <3782201+rohvani@users.noreply.github.com> | 2026-09-21 17:44:02 -0400 |
|---|---|---|
| committer | pepper <3782201+rohvani@users.noreply.github.com> | 2026-09-21 17:44:02 -0400 |
| commit | d06964f46025e135b74b3dd1e6c144c364bf6d1b (patch) | |
| tree | aae1bfdf8f6e6ef3f8f4adcd96c927ac8760da06 /indra/lib/python | |
| parent | cc5d3dd3cd653971fff16cf2bc1d380edd5ea7f2 (diff) | |
| parent | 0a60806f8973c05b68cf65a5a01c41d81ff2da7b (diff) | |
Merge release/26.5 into project/chat-modernization
Preserve the history reader's page position while incorporating the focused page-selector refresh fix.
Diffstat (limited to 'indra/lib/python')
| -rw-r--r-- | indra/lib/python/indra/util/llmanifest.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/lib/python/indra/util/llmanifest.py b/indra/lib/python/indra/util/llmanifest.py index 0ad0b6b1a9..bf8383fc39 100644 --- a/indra/lib/python/indra/util/llmanifest.py +++ b/indra/lib/python/indra/util/llmanifest.py @@ -73,7 +73,7 @@ def proper_windows_path(path, current_platform = sys.platform): rel = None match = re.match("/cygdrive/([a-z])/(.*)", path) if not match: - match = re.match('([a-zA-Z]):\\\(.*)', path) + match = re.match(r'([a-zA-Z]):\\(.*)', path) if not match: return None # not an absolute path drive_letter = match.group(1) @@ -310,7 +310,7 @@ def main(extra=[]): class LLManifestRegistry(type): def __init__(cls, name, bases, dct): super(LLManifestRegistry, cls).__init__(name, bases, dct) - match = re.match("(\w+)Manifest", name) + match = re.match(r"(\w+)Manifest", name) if match: cls.manifests[match.group(1).lower()] = cls @@ -796,11 +796,11 @@ class LLManifest(object, metaclass=LLManifestRegistry): def wildcard_regex(self, src_glob, dst_glob): src_re = re.escape(src_glob) - src_re = src_re.replace('\*', '([-a-zA-Z0-9._ ]*)') + src_re = src_re.replace(r'\*', '([-a-zA-Z0-9._ ]*)') dst_temp = dst_glob i = 1 while dst_temp.count("*") > 0: - dst_temp = dst_temp.replace('*', '\g<' + str(i) + '>', 1) + dst_temp = dst_temp.replace('*', r'\g<' + str(i) + '>', 1) i = i+1 return re.compile(src_re), dst_temp |
