From 1815b13458597041ac2efa47f4aaadabe1085539 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Thu, 9 Apr 2015 21:04:38 +0200 Subject: [PATCH] suite add: set version to NULL when an empty string is given --- dak/admin.py | 3 +++ 1 file changed, 3 insertions(+) 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 + '='): -- 2.39.5