openqa-maintenance: Make 'emd' static method

This commit is contained in:
Ondřej Súkup 2017-06-26 10:06:27 +02:00
parent 0174856c0d
commit cd3b8a6a47
No known key found for this signature in database
GPG Key ID: 18E6D11A219AF3B7

View File

@ -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):