summaryrefslogtreecommitdiff
path: root/src/android/camera_proxy.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-01-07 15:18:23 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-01-07 16:05:27 +0000
commit32dd1a3b2f813fa39121d3c9781379d1d3208611 (patch)
tree47cb4651a90b7ad95bb309bcd9c8a5620a9e8b50 /src/android/camera_proxy.h
parent618b5512a8113bcc785ff57afaf7c77e6c489f3b (diff)
utils: checkstyle.py: Fix regex string literal
The checkstyle.py patch has a fault which it identified in itself when updating the regex string. --- utils/checkstyle.py +++ utils/checkstyle.py #105: : W605 invalid escape sequence '\+' + diff_header_regex = re.compile('@@ -([0-9]+)(,[0-9]+)? \+([0-9]+)(,?[0-9]+)? @@') --- 1 potential style issue detected, please review This is documented further at: https://www.flake8rules.com/rules/W605.html Update the string literal prefix to declare a raw byte string for the regex parser. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/android/camera_proxy.h')
0 files changed, 0 insertions, 0 deletions