Skip to content

Commit

Permalink
Add missing import for TRANSITIONAL_STATES and ERROR in dbusrole.py
Browse files Browse the repository at this point in the history
If roled is started with an instance it fails with 'TRANSITIONAL_STATES' is not
defined.

Fixes: #52

Reviewed at https://reviewboard-fedoraserver.rhcloud.com/r/224/
  • Loading branch information
t-woerner authored and sgallagher committed Oct 6, 2015
1 parent 1585e51 commit 39e4481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rolekit/server/dbusrole.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import slip.dbus.service

from rolekit import async
from rolekit.config import ETC_ROLEKIT_ROLES
from rolekit.config import ETC_ROLEKIT_ROLES, TRANSITIONAL_STATES, ERROR
from rolekit.config.dbus import DBUS_INTERFACE_ROLE, DBUS_PATH_ROLES, PK_ACTION_ALL
from rolekit.logger import log
from rolekit.server.decorators import dbus_handle_exceptions
Expand Down

0 comments on commit 39e4481

Please sign in to comment.