diff options
author | Sven Panne <svenpanne@gmail.com> | 2016-11-08 10:35:37 +0100 |
---|---|---|
committer | Kim Gräsman <kim.grasman@gmail.com> | 2016-11-10 21:12:41 +0100 |
commit | 2b0a93982926f3781ee791abce5415c9f11d7ed8 (patch) | |
tree | 596bff952592f9a4d2ed5a21ea4ae8c0e24e58ca | |
parent | 920dc142a12e22ebfa017e209000f8206703c8c1 (diff) |
Use a variable name which makes pylint happy
-rwxr-xr-x | iwyu_tool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iwyu_tool.py b/iwyu_tool.py index c3b8f62..b06876b 100755 --- a/iwyu_tool.py +++ b/iwyu_tool.py @@ -136,8 +136,8 @@ def _bootstrap(): def partition_args(argv): """ Split around '--' into driver args and IWYU args. """ try: - dd = argv.index('--') - return argv[:dd], argv[dd+1:] + double_dash = argv.index('--') + return argv[:double_dash], argv[double_dash+1:] except ValueError: return argv, [] |