From ca14eda41e8003a68a4b601f3066512afa44c789 Mon Sep 17 00:00:00 2001 From: Ancor Gonzalez Sosa Date: Thu, 5 Jun 2014 07:35:12 +0200 Subject: [PATCH] Display requests as markdown lists in the comments --- osclib/stagingapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osclib/stagingapi.py b/osclib/stagingapi.py index 751557ea..bafce0b0 100644 --- a/osclib/stagingapi.py +++ b/osclib/stagingapi.py @@ -1093,6 +1093,6 @@ class StagingAPI(object): if not author: # Old style metadata author = get_request(self.apiurl, str(req['id'])).get_creator() - lines.append('Request req#%s for package %s submitted by [AT]%s' % (req['id'], req['package'], author)) + lines.append(' * Request req#%s for package %s submitted by [AT]%s' % (req['id'], req['package'], author)) msg = '\n'.join(lines) comment_api.add_comment(project_name=project, comment=msg)