Skip to content

Conversation

@harelba
Copy link
Contributor

@harelba harelba commented Feb 13, 2017

Related to #739

@harelba
Copy link
Contributor Author

harelba commented Feb 13, 2017

saw that there are failures in travis. I'm taking a look at it.

If you could provide instructions on how to run it locally with tox, that would be great.

@harelba
Copy link
Contributor Author

harelba commented Feb 13, 2017

fixed - Another build has started. Monitoring.

@jeffwidman
Copy link
Contributor

Can we drop support for python 2.6? I'd rather be able to use .format()

@tvoinarovskyi
Copy link
Collaborator

I like the idea of such errors.

fetch_max_wait_ms = self.config['fetch_max_wait_ms']
if request_timeout_ms <= session_timeout_ms:
raise KafkaConfigurationError(
"Request timeout (" + str(request_timeout_ms) + ") must be larger than session timeout (" +
Copy link
Owner

Choose a reason for hiding this comment

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

"Request timeout (%s) must be larger than session timeout (%s)" % (request_timeout_ms, session_timeout_ms) is another alternative here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

true, and better of course. fixing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done, pushed fix.

@harelba
Copy link
Contributor Author

harelba commented Feb 25, 2017

fixed string interpolation according to comment. Travis running.

@dpkp dpkp merged commit 432f00e into dpkp:master Feb 28, 2017
@dpkp
Copy link
Owner

dpkp commented Feb 28, 2017

Thanks!

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.

4 participants