From f1a098203be8c44a52ed5d2a72982a3f634d4df6 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 2 Jan 2017 16:42:09 +0200 Subject: py: Move helpers to the pykms module Instead of forcing applications to import the helpers manually, move them to pykms by turning it into a python module. Signed-off-by: Laurent Pinchart --- py/tests/cam.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'py/tests/cam.py') diff --git a/py/tests/cam.py b/py/tests/cam.py index b44f8f9..57d0c1a 100755 --- a/py/tests/cam.py +++ b/py/tests/cam.py @@ -3,8 +3,6 @@ import sys import selectors import pykms -from helpers import * - w = 640 h = 480 @@ -48,7 +46,7 @@ def readvid(conn, mask): fb = cap.dequeue() if card.has_atomic: - set_props(plane, { + plane.set_props({ "FB_ID": fb.id, "CRTC_ID": crtc.id, "SRC_W": fb.width << 16, -- cgit v1.2.3