Closed Bug 1370549 Opened 8 years ago Closed 8 years ago

"DeprecationWarning: invalid escape sequence" on regex

Categories

(Socorro :: Symbols, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

References

()

Details

From `region = re.findall('s3-(.*)\.amazonaws.com', parsed.netloc)` https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
Oh. I think it just needs to be changed to `region = re.findall(r's3-(.*)\.amazonaws.com', parsed.netloc)`
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.