From bb8c8dcfa3af44c0a6f7e3d0b0d68f8c562d6c72 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 1 Jun 2015 19:27:13 +0000 Subject: [PATCH] Make this thing jsonifiable so "fedmsg-config" works again. --- roles/notifs/backend/templates/fmn.consumer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/notifs/backend/templates/fmn.consumer.py b/roles/notifs/backend/templates/fmn.consumer.py index 59c041bc61..7858e46617 100644 --- a/roles/notifs/backend/templates/fmn.consumer.py +++ b/roles/notifs/backend/templates/fmn.consumer.py @@ -32,6 +32,9 @@ class MutexLock(AbstractFileLock): def release_write_lock(self): return self.mutex.release_write_lock() + def __json__(self): + return repr(self) + config = { {% if env == 'staging' %}