diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2013-09-05 08:22:44 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2013-09-05 08:22:44 +0000 |
commit | fadd2ae1c87e513d67b7373c6b0bfb45d50e7bae (patch) | |
tree | 19ae45c3b6a52bd500268233074a9f8d8f786068 /tools | |
parent | 8b842aeb0282cd83640f0c95c1ba3636b66ff4a5 (diff) |
Removed TAB as indent.
Fixed regex for modifying absolute paths in header.
svn path=/trunk/; revision=51776
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/asn2wrs.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/asn2wrs.py b/tools/asn2wrs.py index 75b5830936..aab828ba5b 100755 --- a/tools/asn2wrs.py +++ b/tools/asn2wrs.py @@ -2915,13 +2915,13 @@ class EthOut: out += '\n' # Make Windows path separator look like Unix path separator out = out.replace('\\', '/') - # Change abolute paths from cmake builds to relative paths as used - # in autotools for identical output of both build systems. - out = re.sub(r'(/[^ ]*/tools/)', '../../tools/', out) - out = re.sub(r'(/[^ ]*/epan/)', '../../epan/', out) - out = re.sub(r'(/[^ ]*/asn1/[^\s/]*)', '.', out) - out = re.sub(r'(/[^ ]*/asn1/[^\s]/)', './', out) - return out + # Change abolute paths from cmake builds to relative paths as used + # in autotools for identical output of both build systems. + out = re.sub(r'(/ [^ ]*/tools/)', '../../tools/', out) + out = re.sub(r'(/ [^ ]*/epan/)', '../../epan/', out) + out = re.sub(r'(/ [^ ]*/asn1/[^\s/]*)', '.', out) + out = re.sub(r'(/ [^ ]*/asn1/[^\s]/)', './', out) + return out #--- dbg_print ------------------------------------------------------- def dbg_print(self): |