Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix calling of _offsets #376

Merged
merged 1 commit into from
May 14, 2015
Merged

Fix calling of _offsets #376

merged 1 commit into from
May 14, 2015

Conversation

hellais
Copy link
Contributor

@hellais hellais commented May 14, 2015

Previously you would see this error:

self.offsets._fetch[(topic, partition)],
AttributeError: 'function' object has no attribute '_fetch'

@dpkp
Copy link
Owner

dpkp commented May 14, 2015

Good catch, but I think it should be self._offsets.fetch(....) (drop the _ before fetch)

Previously you would see this error:
```
self.offsets._fetch[(topic, partition)],
AttributeError: 'function' object has no attribute '_fetch'
```
@hellais
Copy link
Contributor Author

hellais commented May 14, 2015

ah yes, sorry. Fixed.

@dpkp
Copy link
Owner

dpkp commented May 14, 2015

commit --amend and push -f to update the PR?

dpkp added a commit that referenced this pull request May 14, 2015
@dpkp dpkp merged commit f020c45 into dpkp:master May 14, 2015
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