Fix some unrelated lint

This commit is contained in:
twangboy 2018-12-12 13:19:01 -07:00
parent fd1a0726aa
commit 473f4d7a24
No known key found for this signature in database
GPG key ID: 93FF3BDEB278C9EB
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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