diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2018-09-04 19:02:41 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2018-09-04 19:02:41 +0000 |
commit | 6c70fdf2b706dd398f4b77613a43d57fa9e7916d (patch) | |
tree | 1d7cd37444a45296b6411327d4274ad814890b0b /user/acpilight/python3.patch | |
parent | b285b187f4825f974892fe11a6f04355ff931f7f (diff) | |
parent | ba5e579183ed74b8b3fb1f25d72af5693e833a60 (diff) | |
download | packages-6c70fdf2b706dd398f4b77613a43d57fa9e7916d.tar.gz packages-6c70fdf2b706dd398f4b77613a43d57fa9e7916d.tar.bz2 packages-6c70fdf2b706dd398f4b77613a43d57fa9e7916d.tar.xz packages-6c70fdf2b706dd398f4b77613a43d57fa9e7916d.zip |
Merge branch 'acpilight' into 'master'
user/acpilight: fix license, change URL, upgrade to 1.1
See merge request !47
Diffstat (limited to 'user/acpilight/python3.patch')
-rw-r--r-- | user/acpilight/python3.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/user/acpilight/python3.patch b/user/acpilight/python3.patch deleted file mode 100644 index ab0ffe61f..000000000 --- a/user/acpilight/python3.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- acpilight-1.0/xbacklight 2017-02-23 21:03:30.000000000 +0000 -+++ acpilight-1.0/xbacklight 2018-01-13 08:52:42.400000000 +0000 -@@ -1,9 +1,8 @@ --#!/usr/bin/env python -+#!/usr/bin/python3 - # xbacklight: control backlight and led brightness on linux using the sys - # filesystem with a backward-compatibile user interface - # Copyright(c) 2016-2017 by wave++ "Yuri D'Elia" <wavexx@thregr.org> - # -*- coding: utf-8 -*- --from __future__ import print_function, division, generators - - APP_DESC = "control backlight brightness" - SYS_PATH = ["/sys/class/backlight", "/sys/class/leds"] -@@ -99,7 +98,7 @@ - - # set current operating controller - if args.ctrl is None: -- ctrl = Controller(next(iter(ctrls.values()))) -+ ctrl = Controller(next(iter(list(ctrls.values())))) - else: - if args.ctrl not in ctrls: - error("unknown controller '{}'".format(args.ctrl)) |