Signed-off-by: yanan-rock <yanan@huawei.com> (cherry picked from commit 0e1e47757671f8826d01419840f042f3b9e60b57)
26 lines
711 B
Diff
26 lines
711 B
Diff
From 9781853e80ff20dc5f5a01bb4c90aa490c7dfd34 Mon Sep 17 00:00:00 2001
|
|
From: t_feng <fengtao40@huawei.com>
|
|
Date: Thu, 27 Aug 2020 23:38:19 +0800
|
|
Subject: [PATCH] fix short variable none
|
|
|
|
---
|
|
productmd/treeinfo.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/productmd/treeinfo.py b/productmd/treeinfo.py
|
|
index a8f472e..2404d26 100644
|
|
--- a/productmd/treeinfo.py
|
|
+++ b/productmd/treeinfo.py
|
|
@@ -246,7 +246,7 @@ class Release(BaseProduct):
|
|
self.name = "CentOS"
|
|
self.short = "CentOS"
|
|
else:
|
|
- self.short = None
|
|
+ self.short = ""
|
|
|
|
def deserialize_0_3(self, parser):
|
|
self.name = parser.get("product", "name")
|
|
--
|
|
2.23.0
|
|
|