open-bitbucket may be offline for system maintenance Thursday evenings from 10pm to 1am ET.
Learn more about cloning repositories
You have read-only access
from __future__ import absolute_import
def as_list( v ):
if type(v) is list:
return v
else:
try:
iter(v)
return [v] if type(v) is str else list(v)
except:
return [v]
Everything looks good. We'll let you know here if there's anything you should know about.