summaryrefslogtreecommitdiff
path: root/neutron/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'neutron/context.py')
-rw-r--r--neutron/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/neutron/context.py b/neutron/context.py
index f248e70250..1da9b77423 100644
--- a/neutron/context.py
+++ b/neutron/context.py
@@ -144,7 +144,7 @@ class ContextBase(common_context.RequestContext):
context.is_admin = True
if 'admin' not in [x.lower() for x in context.roles]:
- context.roles.append('admin')
+ context.roles = context.roles + ["admin"]
if read_deleted is not None:
context.read_deleted = read_deleted