diff options
| author | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-10-25 12:23:11 +0900 |
|---|---|---|
| committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-10-30 10:28:20 +0900 |
| commit | 1d947b30342163b723c96db563967323535fef45 (patch) | |
| tree | b6b02d02df01792b356b9e50ceeaadcaf3a2e8c5 /subcmds/grep.py | |
| parent | 2d113f35460051823ea54d61c5c939565518f969 (diff) | |
| download | git-repo-1d947b30342163b723c96db563967323535fef45.tar.gz | |
Even more coding style cleanup
Fixing some more pylint warnings:
W1401: Anomalous backslash in string
W0623: Redefining name 'name' from outer scope
W0702: No exception type(s) specified
E0102: name: function already defined line n
Change-Id: I5afcdb4771ce210390a79981937806e30900a93c
Diffstat (limited to 'subcmds/grep.py')
| -rw-r--r-- | subcmds/grep.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/grep.py b/subcmds/grep.py index 0dc8f9f6..b067629a 100644 --- a/subcmds/grep.py +++ b/subcmds/grep.py | |||
| @@ -51,7 +51,7 @@ Examples | |||
| 51 | 51 | ||
| 52 | Look for a line that has '#define' and either 'MAX_PATH or 'PATH_MAX': | 52 | Look for a line that has '#define' and either 'MAX_PATH or 'PATH_MAX': |
| 53 | 53 | ||
| 54 | repo grep -e '#define' --and -\( -e MAX_PATH -e PATH_MAX \) | 54 | repo grep -e '#define' --and -\\( -e MAX_PATH -e PATH_MAX \\) |
| 55 | 55 | ||
| 56 | Look for a line that has 'NODE' or 'Unexpected' in files that | 56 | Look for a line that has 'NODE' or 'Unexpected' in files that |
| 57 | contain a line that matches both expressions: | 57 | contain a line that matches both expressions: |
