def logend(self):
        ''' End logging. '''
        if not self.logfp:
            return
        end = datetime.datetime.now()
        self.log("%s end: %s (%s)\n" % \
                 (sys.argv[0], end.ctime(),  self.start - end))
        self.logfp.flush()
        self.logfp.close()
        self.logfp = None
dataset/ETHPy150Open coreemu/core/daemon/examples/netns/wlanemanetests.py/Experiment.logend/swapped operands of `-`