Browse Source

fixed unhashable list

bugfixes
harshadyeola 10 years ago
parent
commit
6008825665
  1. 4
      ee/cli/plugins/site_functions.py

4
ee/cli/plugins/site_functions.py

@ -802,7 +802,7 @@ def detSitePar(opts):
if set(['wpsubdir', 'wpsubdomain']).issubset(set[typelist]): if set(['wpsubdir', 'wpsubdomain']).issubset(set[typelist]):
raise RuntimeError("could not determine site and cache type") raise RuntimeError("could not determine site and cache type")
elif 'wpsubdir' in typelist: elif 'wpsubdir' in typelist:
typelist = 'wpsubdir' typelist = ['wpsubdir']
elif 'wpsubdomain' in typelist: elif 'wpsubdomain' in typelist:
typelist = ['wpsubdomain'] typelist = ['wpsubdomain']
elif 'wp' in typelist: elif 'wp' in typelist:
@ -828,7 +828,7 @@ def detSitePar(opts):
cachetype = 'basic' cachetype = 'basic'
else: else:
sitetype = typelist[0] sitetype = typelist[0]
cachetype = cachelist cachetype = cachelist[0]
return (sitetype, cachetype) return (sitetype, cachetype)

Loading…
Cancel
Save