Merge pull request #11 from kc1awv/patch-1

fix typo
This commit is contained in:
Cort Buffington 2019-12-13 10:00:16 -06:00 committed by GitHub
commit cdae79e0ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ def acl_build(_acl, _max):
if (const.ID_MIN <= start <= _max) or (const.ID_MIN <= end <= _max): if (const.ID_MIN <= start <= _max) or (const.ID_MIN <= end <= _max):
acl.append((start, end)) acl.append((start, end))
else: else:
sys.exit('ACL CREATION ERROR, VALUE OUT OF RANGE (} - {})IN RANGE-BASED ENTRY: {}'.format(const.ID_MIN, _max, entry)) sys.exit('ACL CREATION ERROR, VALUE OUT OF RANGE ({} - {})IN RANGE-BASED ENTRY: {}'.format(const.ID_MIN, _max, entry))
else: else:
id = int(entry) id = int(entry)
if (const.ID_MIN <= id <= _max): if (const.ID_MIN <= id <= _max):