From bf3451db6f6d766b5ca0d0be9739f5d1b17f5cb2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 9 Aug 2018 12:56:09 +0200 Subject: Update for Python 3.7 (broke syntax backwards compatibility) and update year and email MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- examples/plugins/uname | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/plugins/uname') diff --git a/examples/plugins/uname b/examples/plugins/uname index a87b9f2..c75cd1d 100644 --- a/examples/plugins/uname +++ b/examples/plugins/uname @@ -1,7 +1,7 @@ # -*- python -*- ''' xpybar – xmobar replacement written in python -Copyright © 2014, 2015, 2016, 2017 Mattias Andrée (maandree@member.fsf.org) +Copyright © 2014, 2015, 2016, 2017, 2018 Mattias Andrée (maandree@kth.se) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ clock = Clock(sync_to = 30 * Clock.MINUTES) start_ = start def start(): start_() - async(lambda : clock.continuous_sync(lambda : bar.invalidate())) + xasync(lambda : clock.continuous_sync(lambda : bar.invalidate())) def redraw(): -- cgit v1.2.3-70-g09d2