[PR PATCH] [Closed]: emulate/traffic: fix next usage

github at samba.org github at samba.org
Thu Dec 13 07:51:59 UTC 2018


There's a closed pull request on the Samba Samba Github repository

emulate/traffic: fix next usage
https://github.com/samba-team/samba/pull/199
Description: In commit b0c9de820c07d77c03b80505cb811ac1dac0808f, line 343:

    self.next_conversation_id = itertools.count().next

was changed to:

    self.next_conversation_id = next(itertools.count())

which is not correct, the first one is a function, the second one is a
int. This patch fixed it.

Signed-off-by: Joe Guo <joeg at catalyst.net.nz>


More information about the samba-technical mailing list