change state meanings
authorHelmut Grohne <helmut@subdivi.de>
Sun, 16 Jun 2013 19:55:56 +0000 (21:55 +0200)
committerHelmut Grohne <helmut@subdivi.de>
Sun, 16 Jun 2013 19:55:56 +0000 (21:55 +0200)
commitbba546949e4aa6bae3a20abe960834ab4cadba4d
treef98056b3efe1fcbc433be7373d6681aeefd1a1c2
parent06250add1e264f51d75404883840f3f71e0472ed
change state meanings

The ST_ACTIVE bit is now to define the desired state. The previous
definition of using the state we are coming from does not make much
sense. Consider the case when being deactivated while transitioning to
active. Then we are coming from inactive and transitioning to inactive.
dbus_service.py
onoff/common.py