Messages in this thread | | | Date | Thu, 24 Oct 2013 11:39:49 +0200 | From | Michal Marek <> | Subject | Re: [PATCH] scripts/checkkconfig.py: find unused Kconfig parameters |
| |
On 24.10.2013 07:23, Michael Opdenacker wrote: > + count = subprocess.check_output('git grep ' + param + '| grep -v defconfig | wc -l', shell=True)
Python 2.6 does not have subprocess.check_output:
$ ./scripts/checkkconfig.py INFO: processing Kconfig files... INFO: checking kconfig parameter 1 / 13706 (0 %) Traceback (most recent call last): File "./scripts/checkkconfig.py", line 127, in <module> count_param(param) File "./scripts/checkkconfig.py", line 67, in count_param count = subprocess.check_output('git grep ' + param + '| grep -v defconfig | wc -l', shell=True) AttributeError: 'module' object has no attribute 'check_output'
Michal
| |