tmpfile should look more like this:
def tmpfile(self): path = "/tmp/%s-%04d" % (type(self).__name__, self._tmp_count) self._tmp_count += 1 return path
then we're good. as is, the tmpfile name never changed, which is kind of not very tmpfile-like
« Back to merge proposal
tmpfile should look more like this:
def tmpfile(self): .__name_ _, self._tmp_count)
self._ tmp_count += 1
path = "/tmp/%s-%04d" % (type(self)
return path
then we're good.
as is, the tmpfile name never changed, which is kind of not very tmpfile-like