这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@dkrasner
Copy link
Contributor

Added an argument to TextFileStreamer to allow an explicit list of paths. Ex, you want only certain files in a dir and you know what those are. In this case it will not get_path()...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If people supply both path_list and text_base_path then unexpected behavior will occur. Seems like a check should be put in like:

assert (text_base_path is None) or (path_list is None)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, agreed and done

dkrasner pushed a commit that referenced this pull request Feb 17, 2014
added path_list arg to TextFileStreamer
@dkrasner dkrasner merged commit 5c2daed into master Feb 17, 2014
@dkrasner dkrasner deleted the path_list branch February 17, 2014 05:35
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.

3 participants