Make it new-style.

This commit is contained in:
Itamar Turner-Trauring 2021-04-01 10:14:05 -04:00
parent 5ac631047c
commit f606420d78

View File

@ -22,7 +22,7 @@ from allmydata.util.consumer import MemoryConsumer, download_to_data
@implementer(IPushProducer)
@implementer(IPullProducer)
class Producer:
class Producer(object):
"""Can be used as either streaming or non-streaming producer.
If used as streaming, the test should call iterate() manually.