openqa-maintenance: Make 'emd' static method
This commit is contained in:
parent
0174856c0d
commit
cd3b8a6a47
@ -581,7 +581,8 @@ class OpenQABot(ReviewBot.ReviewBot):
|
|||||||
self.commentapi.add_comment(request_id=req.reqid, comment=str(comment))
|
self.commentapi.add_comment(request_id=req.reqid, comment=str(comment))
|
||||||
|
|
||||||
# escape markdown
|
# escape markdown
|
||||||
def emd(self, str):
|
@staticmethod
|
||||||
|
def emd(str):
|
||||||
return str.replace('_', '\_')
|
return str.replace('_', '\_')
|
||||||
|
|
||||||
def get_step_url(self, testurl, modulename):
|
def get_step_url(self, testurl, modulename):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user