summarylogtreecommitdiffstats
path: root/01-fix-list.patch
diff options
context:
space:
mode:
Diffstat (limited to '01-fix-list.patch')
-rw-r--r--01-fix-list.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/01-fix-list.patch b/01-fix-list.patch
new file mode 100644
index 000000000000..793779043c58
--- /dev/null
+++ b/01-fix-list.patch
@@ -0,0 +1,22 @@
+=== modified file 'v4l2.py'
+--- v4l2.py 2010-07-22 01:07:58 +0000
++++ v4l2.py 2016-07-09 01:22:57 +0000
+@@ -194,7 +194,7 @@
+ V4L2_BUF_TYPE_SLICED_VBI_OUTPUT,
+ V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY,
+ V4L2_BUF_TYPE_PRIVATE,
+-) = range(1, 9) + [0x80]
++) = list(range(1, 9)) + [0x80]
+
+
+ v4l2_ctrl_type = enum
+@@ -245,7 +245,7 @@
+ V4L2_PRIORITY_INTERACTIVE,
+ V4L2_PRIORITY_RECORD,
+ V4L2_PRIORITY_DEFAULT,
+-) = range(0, 4) + [2]
++) = list(range(0, 4)) + [2]
+
+
+ class v4l2_rect(ctypes.Structure):
+