Skip to content

Commit 18421e9

Browse files
committed
Add space after 'tags:' output
1 parent ac60f94 commit 18421e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mbed/mbed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,7 @@ def sync(recursive=True, keep_refs=False, top=True):
21632163
def list_(detailed=False, prefix='', p_path=None, ignore=False):
21642164
repo = Repo.fromrepo()
21652165
revtags = repo.scm.gettags(repo.rev) if repo.rev else []
2166-
revstr = ('#'+repo.rev[:12]+(', tags:'+', '.join(revtags[0:2]) if len(revtags) else '')) if repo.rev else ''
2166+
revstr = ('#'+repo.rev[:12]+(', tags: '+', '.join(revtags[0:2]) if len(revtags) else '')) if repo.rev else ''
21672167

21682168
print "%s (%s)" % (prefix + (relpath(p_path, repo.path) if p_path else repo.name), ((repo.url+('#'+str(repo.rev)[:12] if repo.rev else '') if detailed else revstr) or 'no revision'))
21692169

@@ -2188,7 +2188,7 @@ def releases_(detailed=False, unstable=False, recursive=False, prefix='', p_path
21882188
repo = Repo.fromrepo()
21892189
tags = repo.scm.gettags()
21902190
revtags = repo.scm.gettags(repo.rev) if repo.rev else [] # associated tags with current commit
2191-
revstr = ('#'+repo.rev[:12]+(', tags:'+', '.join(revtags[0:2]) if len(revtags) else '')) if repo.rev else ''
2191+
revstr = ('#'+repo.rev[:12]+(', tags: '+', '.join(revtags[0:2]) if len(revtags) else '')) if repo.rev else ''
21922192
regex_rels = regex_rels_all if unstable else regex_rels_official
21932193

21942194
# Generate list of tags

0 commit comments

Comments
 (0)