abstract away ScheduledFunction
authorHelmut Grohne <helmut@subdivi.de>
Sat, 19 Aug 2017 19:41:33 +0000 (21:41 +0200)
committerHelmut Grohne <helmut@subdivi.de>
Sat, 19 Aug 2017 19:41:33 +0000 (21:41 +0200)
commit8aec6b38ae22e21e09b94c76b2e6ca766e90e307
tree0433305836df39f747053b688aa17fb43838b626
parente2739cd62703e102ff705386c8aa00d538f1ce61
abstract away ScheduledFunction

Rather than work with GObject.timeout_add and GObject.source_remove
directly, wrap them up in a ScheduledFunction to ease usage.
onoff/common.py
onoff/dbusutils.py
onoff/gobject.py
onoff/process.py