summaryrefslogtreecommitdiff
path: root/backport/backport-include/linux/pci.h
diff options
context:
space:
mode:
authorDavid Frey <dpfrey@gmail.com>2019-11-06 14:02:48 -0800
committerHauke Mehrtens <hauke@hauke-m.de>2019-11-16 12:30:09 +0100
commit5ab7098a8abed0a0e677892bc51f0bba684a4ba4 (patch)
treecc5150b580fbd14b222139996eae7346ccf8aae8 /backport/backport-include/linux/pci.h
parent5a0c323a153eebe286924771b0b8de75e9373523 (diff)
pycocci: fix error when python is python3
When running under an Arch Linux system where python is python3, the following error was observed: Traceback (most recent call last): File "/home/dfrey/projects/backports-linux/devel/pycocci", line 172, in <module> ret = _main() File "/home/dfrey/projects/backports-linux/devel/pycocci", line 158, in _main if args.jobs > 0: TypeError: '>' not supported between instances of 'NoneType' and 'int' The problem is that args.jobs is None in the case that the -j or --jobs argument wasn't passed to the command. In python3, an exception is generated when performing a comparison between different types. Signed-off-by: David Frey <dpfrey@gmail.com>
Diffstat (limited to 'backport/backport-include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions