From: Ansgar Burchardt Date: Thu, 9 Apr 2015 19:04:38 +0000 (+0200) Subject: suite add: set version to NULL when an empty string is given X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=1815b13458597041ac2efa47f4aaadabe1085539;p=dak.git suite add: set version to NULL when an empty string is given --- diff --git a/dak/admin.py b/dak/admin.py index 07e60ddd..66113b94 100755 --- a/dak/admin.py +++ b/dak/admin.py @@ -322,6 +322,9 @@ def __suite_add(d, args, addallarches=False): version = args[3] rest = args[3:] + if len(version) == 0: + version = None + def get_field(field): for varval in args: if varval.startswith(field + '='):