From da6eb040da28f9163fd727cd50b5d19c89c3729a Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 2 Jun 2015 15:40:49 +0200 Subject: [PATCH] again, this change belongs with the addition of the builtin 'name' column for authorities --- sfa/planetlab/pldriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/planetlab/pldriver.py b/sfa/planetlab/pldriver.py index d16b23a6..896aeac9 100644 --- a/sfa/planetlab/pldriver.py +++ b/sfa/planetlab/pldriver.py @@ -312,7 +312,7 @@ class PlDriver (Driver): elif type == "authority": pl_record["login_base"] = PlXrn(xrn=hrn,type='authority').pl_login_base() - if "name" not in sfa_record: + if "name" not in sfa_record or not sfa_record['name']: pl_record["name"] = hrn if "abbreviated_name" not in sfa_record: pl_record["abbreviated_name"] = hrn -- 2.43.0