Closed Bug 788854 Opened 9 years ago Closed 9 years ago

Unescaped filenames in log statements cause "SyntaxError: malformed Unicode character escape sequence"

Categories

(Testing :: Marionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla18

People

(Reporter: jgriffin, Assigned: jgriffin)

References

Details

Attachments

(1 file)

This is really only a problem on Windows, since Windows uses back slashes in paths.

The error comes from here:

http://mxr.mozilla.org/mozilla-central/source/testing/marionette/client/marionette/marionette_test.py#104

since on Windows a path will look something like c:\path\file.ext
Attachment #658695 - Flags: review?(mdas)
Comment on attachment 658695 [details] [diff] [review]
escape backslahes in filenames

Review of attachment 658695 [details] [diff] [review]:
-----------------------------------------------------------------

lookin\' good.
Attachment #658695 - Flags: review?(mdas) → review+
https://hg.mozilla.org/mozilla-central/rev/ca630290d89d
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.