From 600882566501a19c9b3bec110fc4d7ee855cf182 Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Fri, 8 May 2015 21:21:42 +0530 Subject: [PATCH] fixed unhashable list --- ee/cli/plugins/site_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index 1633e050..d3a956ee 100644 --- a/ee/cli/plugins/site_functions.py +++ b/ee/cli/plugins/site_functions.py @@ -802,7 +802,7 @@ def detSitePar(opts): if set(['wpsubdir', 'wpsubdomain']).issubset(set[typelist]): raise RuntimeError("could not determine site and cache type") elif 'wpsubdir' in typelist: - typelist = 'wpsubdir' + typelist = ['wpsubdir'] elif 'wpsubdomain' in typelist: typelist = ['wpsubdomain'] elif 'wp' in typelist: @@ -828,7 +828,7 @@ def detSitePar(opts): cachetype = 'basic' else: sitetype = typelist[0] - cachetype = cachelist + cachetype = cachelist[0] return (sitetype, cachetype)