This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2gobroker. from e1a791f x2gobroker.spec: Fix removal of conf files in tmpfiles.d where needed. new e84f192 x2gobroker/brokers/inifile_broker.py: Make sure profile['name'] has a fallback if not given in the session profile. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: x2gobroker/brokers/inifile_broker.py | 5 +++++ 1 file changed, 5 insertions(+) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gobroker. commit e84f1929543dea804fbb1c82a107907668745c11 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue May 1 12:20:46 2018 +0200 x2gobroker/brokers/inifile_broker.py: Make sure profile['name'] has a fallback if not given in the session profile. --- x2gobroker/brokers/inifile_broker.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x2gobroker/brokers/inifile_broker.py b/x2gobroker/brokers/inifile_broker.py index 04f83c5..cb9ce87 100644 --- a/x2gobroker/brokers/inifile_broker.py +++ b/x2gobroker/brokers/inifile_broker.py @@ -108,6 +108,11 @@ class X2GoBroker(base.X2GoBroker): profile[key].append(_hostname) else: profile[key].append(host) + + # obligatory profile keys: + if 'name' not in profile: + profile['name'] = profile_id + return profile def get_profile_broker(self, profile_id): -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git