Skip to content
Myr

remove _os_alt_seps

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 85b430a · Browse files · 1 file+0 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−7 removed

  • other:+0 added−7 removed

1 file+0 added−7 removed

modified:src/flask/helpers.py-7 removed
16 unmodified lines
17from .globals import request18from .globals import session19from .signals import message_flashed2021# what separators does this operating system provide that are not a slash?22# this is used by the send_from_directory function to ensure that nobody is23# able to access files from outside the filesystem.24_os_alt_seps = list(25 sep for sep in [os.path.sep, os.path.altsep] if sep not in (None, "/")26)212822def get_env():23 """Get the environment the app is running in, indicated by the24 :envvar:`FLASK_ENV` environment variable. The default is25 ``'production'``.
758 unmodified lines