Skip to content

Conversation

@kjordahl
Copy link

@kjordahl kjordahl commented Sep 5, 2013

get_splitter was called directly, then again through an internal method. Results from the first call are not used for anything and immediately replaced.

Copy link
Member

Choose a reason for hiding this comment

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

Is there a particular reason you chose to remove this one and not the other? Maybe turn comp_ids into _ to indicate that it isn't being used anymore.

Copy link
Author

Choose a reason for hiding this comment

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

I removed the call that was not being used. The following call to the internal method was written a few days later and the intent seems to have been to replace this call.

The previous assignment is now redundant as well. It is repeated in _get_splitter(). I'll push a commit to remove it.

cpcloud added a commit that referenced this pull request Sep 6, 2013
CLN: Remove redundant call to get_splitter
@cpcloud cpcloud merged commit 2267fe4 into pandas-dev:master Sep 6, 2013
@cpcloud
Copy link
Member

cpcloud commented Sep 6, 2013

@kjordahl Thanks.

@kjordahl kjordahl deleted the cleanup/redundant-splitter branch September 6, 2013 22:05
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