From cd3b8a6a47fd47a736489ff5f2513147170727bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 26 Jun 2017 10:06:27 +0200 Subject: [PATCH] openqa-maintenance: Make 'emd' static method --- openqa-maintenance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openqa-maintenance.py b/openqa-maintenance.py index 4c9b338c..a9902c31 100755 --- a/openqa-maintenance.py +++ b/openqa-maintenance.py @@ -581,7 +581,8 @@ class OpenQABot(ReviewBot.ReviewBot): self.commentapi.add_comment(request_id=req.reqid, comment=str(comment)) # escape markdown - def emd(self, str): + @staticmethod + def emd(str): return str.replace('_', '\_') def get_step_url(self, testurl, modulename):