From 1b6dd66d0321bdf93d6fd833649e75e8c80f1329 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 1 Jun 2015 19:33:45 +0000 Subject: [PATCH] Fix that. --- roles/notifs/backend/templates/fmn.consumer.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/notifs/backend/templates/fmn.consumer.py b/roles/notifs/backend/templates/fmn.consumer.py index 7858e46617..55d5202f76 100644 --- a/roles/notifs/backend/templates/fmn.consumer.py +++ b/roles/notifs/backend/templates/fmn.consumer.py @@ -32,8 +32,9 @@ class MutexLock(AbstractFileLock): def release_write_lock(self): return self.mutex.release_write_lock() - def __json__(self): - return repr(self) + @classmethod + def __json__(cls): + return repr(cls) config = {