Skip to content

Commit

Permalink
Merge branch 'master' into demote
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroff committed Jul 9, 2018
2 parents de804a3 + f4ef5b2 commit 8002574
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kafka/tools/models/topic.py
Expand Up @@ -63,7 +63,7 @@ def assure_has_partitions(self, target_count):
target_count (int): the number of partitions to have
"""
while len(self.partitions) < target_count:
partition = Partition(self.name, len(self.partitions))
partition = Partition(self, len(self.partitions))
self.add_partition(partition)

# While Kafka doesn't support partition deletion (only topics), it's possible for a topic
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -105,7 +105,7 @@ def run(self):
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.1.8',
version='0.1.9',

author='Todd Palino',
author_email='tpalino@linkedin.com',
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Expand Up @@ -2,6 +2,7 @@
envlist = py{27,34,35}

[testenv]
passenv = HOME
basepython =
py27: python2.7
py34: python3.4
Expand Down

0 comments on commit 8002574

Please sign in to comment.