Skip to content

Commit 0bf3df1

Browse files
committed
Preserve old --oneline flag spacing
1 parent e5b66af commit 0bf3df1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bin/bugzilla

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ def _format_output(bz, opt, buglist):
659659
cve = ""
660660
flags = ""
661661
if hasattr(b, "flags"):
662-
flags = "".join([str(i) for i in b.flags.split(',')])
662+
flags = " ".join([str(i).strip() for i in b.flags.split(',')])
663663

664664
keywords = getattr(b, "keywords", "")
665665
if type(keywords) is list:

tests/ro_functional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class RHTest(BaseTest):
183183
test7 = lambda s: BaseTest._testQueryRaw(s, "663674", 70,
184184
"ATTRIBUTE[whiteboard]: whiteboard test")
185185
test8 = lambda s: BaseTest._testQueryOneline(s, "785016",
186-
"[---] fedora-review+fedora-cvs+")
186+
"[---] fedora-review+ fedora-cvs+")
187187
test9 = lambda s: BaseTest._testQueryExtra(s, "307471",
188188
" +Status Whiteboard: bzcl34nup")
189189
test10 = lambda s: BaseTest._testQueryFormat(s,

0 commit comments

Comments
 (0)