projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use raw strings when escape sequences are needed
[mudpy.git]
/
mudpy
/
data.py
diff --git
a/mudpy/data.py
b/mudpy/data.py
index
2e22c7e
..
8b7e731
100644
(file)
--- a/
mudpy/data.py
+++ b/
mudpy/data.py
@@
-144,7
+144,7
@@
class DataFile:
for candidate in os.listdir(os.path.dirname(self.filename)):
if re.match(
os.path.basename(self.filename) +
- """\.\d+$""", candidate
+
r
"""\.\d+$""", candidate
):
backups.append(int(candidate.split(".")[-1]))
backups.sort()