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

[V3] Cleanup loop #1533

Merged
merged 4 commits into from
Apr 16, 2018
Merged

[V3] Cleanup loop #1533

merged 4 commits into from
Apr 16, 2018

Conversation

bobloy
Copy link
Contributor

@bobloy bobloy commented Apr 16, 2018

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

If passed number was greater than messages in channel, while loop would run infinitely
This fixes #1513

Additionally, I unindented before = message from async for loop
I did not see a purpose to assign it within the for loop, but correct me if I'm wrong

This is a second pull request on the same issue, as first one ran into unrelated Travis issues

Assorted pep8 updates to retrigger Travis
This reverts commit d0c7f8b.
@bobloy bobloy requested a review from palmtree5 as a code owner April 16, 2018 16:58
@palmtree5 palmtree5 merged commit fb8e443 into Cog-Creators:V3/develop Apr 16, 2018
@bobloy bobloy deleted the cleanup-loop branch April 16, 2018 19:57
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.

[V3 Cleanup] Cleanup messages not deleting if parameter bigger then channel size
2 participants