mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
[OP-703] Fix for missing ")" in a comment
This commit is contained in:
parent
aa6886c305
commit
8079c669f7
@ -166,7 +166,7 @@ class Repo:
|
||||
return ''.join([self.tag(''), self.dirty()])
|
||||
|
||||
def revision(self):
|
||||
"""Return full revison string (tag if defined, or branch:hash date time if no tag"""
|
||||
"""Return full revison string (tag if defined, or branch:hash date time if no tag)"""
|
||||
if self._tag == None:
|
||||
return ''.join([self.branch('no-branch'), ":", self.hash(8, 'no-hash'), self.dirty(), self.time(' %Y%m%d %H:%M')])
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user