From 7dd9f57e161b78981eb797a4c77fd6e7042ad7fd Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 18 May 2015 12:45:47 -0700 Subject: [PATCH] Fix splitting of role_attrs --- database/postgresql/postgresql_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/postgresql/postgresql_user.py b/database/postgresql/postgresql_user.py index 7dda85f343c..78aab6b88da 100644 --- a/database/postgresql/postgresql_user.py +++ b/database/postgresql/postgresql_user.py @@ -263,7 +263,7 @@ def user_alter(cursor, module, user, password, role_attr_flags, encrypted, expir role_attr_flags_changing = False if role_attr_flags: role_attr_flags_dict = {} - for r in role_attr_flags.split(','): + for r in role_attr_flags.split(' '): if r.startswith('NO'): role_attr_flags_dict[r.replace('NO', '', 1)] = False else: