Skip to content

Allow the caller to control whether read_env will recurse.#9

Merged
sloria merged 1 commit intosloria:masterfrom
gthank:master
Jan 25, 2018
Merged

Allow the caller to control whether read_env will recurse.#9
sloria merged 1 commit intosloria:masterfrom
gthank:master

Conversation

@gthank
Copy link
Copy Markdown
Contributor

@gthank gthank commented Jan 24, 2018

The underlying library already exposes a flag to control this behavior,
so I'm merely adding a passthrough for that flag.

I think this flag should be exposed for the same reason it's exposed in the underlying library: it's very useful. For instance, I don't want a web service process potentially recursing up the file system out of its little "jail" (or at least trying to); it's preferable to me that it just throw an Exception. Since that's already something provided by the underlying library, it seems like a good idea to expose it here. I made the default True so the change should be backward compatible.

The underlying library already exposes a flag to control this behavior,
so I'm merely adding a passthrough for that flag.
@sloria
Copy link
Copy Markdown
Owner

sloria commented Jan 25, 2018

Makes sense to me. Thanks!

@sloria sloria merged commit 67b0ff9 into sloria:master Jan 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants