diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2011-07-16 10:20:41 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2011-07-16 10:20:41 -0400 |
commit | 81dc4401288f0a3cb95ce53d4ede79daa0f0f3d0 (patch) | |
tree | 46c4e6fdfcca0d5f27f47c21b3999113e63fae3e /BuildParams | |
parent | 2b509383ccb22a1a4258e1d56710cbb998d6c6af (diff) |
Use raw-string syntax for Python string containing Windows pathname.
Consider this pathname for llsdserialize_test.cpp:
C:\nats\indra\llcommon\tests\llsdserialize_test.cpp
Embed that in a Python string literal:
'C:\nats\indra\llcommon\tests\llsdserialize_test.cpp'
and you get a string containing:
C:
ats\indra\llcommon ests\llsdserialize_test.cpp
where the \n became a newline and the \t became a tab character.
Hopefully Python raw-string syntax r'C:\etc\etc' works better.
Diffstat (limited to 'BuildParams')
0 files changed, 0 insertions, 0 deletions