pep8
This commit is contained in:
parent
b92c087cfc
commit
d75cef9c0f
|
@ -222,9 +222,8 @@ def get_storage(context, session_id, persistent):
|
||||||
|
|
||||||
if session_id is None:
|
if session_id is None:
|
||||||
session_id = gen_id(context)
|
session_id = gen_id(context)
|
||||||
a=__import__(storage_type.get_storage(), globals(), locals(),
|
return __import__(storage_type.get_storage(), globals(), locals(),
|
||||||
['Storage'], -1).Storage(session_id, persistent)
|
['Storage'], -1).Storage(session_id, persistent)
|
||||||
return a
|
|
||||||
|
|
||||||
|
|
||||||
def list_sessions():
|
def list_sessions():
|
||||||
|
@ -496,7 +495,7 @@ class Settings(object):
|
||||||
"'{1}'").format(path, reqpath))
|
"'{1}'").format(path, reqpath))
|
||||||
try:
|
try:
|
||||||
value = self.context()._getattr(reqpath,
|
value = self.context()._getattr(reqpath,
|
||||||
force_permissive=True)
|
force_permissive=True)
|
||||||
except PropertiesOptionError, err:
|
except PropertiesOptionError, err:
|
||||||
if not transitive:
|
if not transitive:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue