def string_to_scopes(scopes):
    if not scopes:
        return []
    if isinstance(scopes, six.string_types):
        return scopes.split(' ')
    else:
        return scopes
L{PosixReactorBase} implements the deprecated L{IReactorArbitrary}, and
dataset/ETHPy150Open google/oauth2client/oauth2client/util.py/string_to_scopes--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/test/test_posixbase.py/PosixReactorBaseTests.test_listenWithIsDeprecated