Skip to content

Commit

Permalink
Merge pull request #566 from vyos/mergify/bp/sagitta/pr-565
Browse files Browse the repository at this point in the history
T6173: fix TypeError: 'NoneType' object is not iterable (backport #565)
  • Loading branch information
c-po authored Apr 13, 2024
2 parents 3f59407 + 48722ae commit 1504942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-vyos-image
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ if __name__ == "__main__":
sys.exit(1)

# Validate characters in version name
if 'version' in args:
if 'version' in args and args['version'] != None:
allowed = string.ascii_letters + string.digits + '.' + '-' + '+'
if not set(args['version']) <= set(allowed):
print(f'Version contained illegal character(s), allowed: {allowed}')
Expand Down

0 comments on commit 1504942

Please sign in to comment.