mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix some unrelated lint
This commit is contained in:
parent
fd1a0726aa
commit
473f4d7a24
2 changed files with 2 additions and 0 deletions
|
@ -1089,6 +1089,7 @@ def id_():
|
|||
'''
|
||||
return {'id': __opts__.get('id', '')}
|
||||
|
||||
|
||||
_REPLACE_LINUX_RE = re.compile(r'\W(?:gnu/)?linux', re.IGNORECASE)
|
||||
|
||||
# This maps (at most) the first ten characters (no spaces, lowercased) of
|
||||
|
|
|
@ -766,6 +766,7 @@ def msi_conformant_version():
|
|||
commi = __saltstack_version__.noc
|
||||
return '{0}.{1}.{2}.{3}'.format(year2, month, minor, commi)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) == 2 and sys.argv[1] == 'msi':
|
||||
# Building the msi requires an msi-conformant version
|
||||
|
|
Loading…
Add table
Reference in a new issue