Don't need with_message=True anymore

This commit is contained in:
Adam Collard
2015-08-27 09:42:17 +01:00
parent 346252a6f0
commit 34bbc335b0

View File

@@ -55,7 +55,7 @@ SUDOERS_D = '/etc/sudoers.d'
def is_paused(status_get=status_get):
"""Is the unit paused?"""
status, message = status_get(with_message=True)
status, message = status_get()
return status == "maintenance" and message.startswith("Paused")