code: def status(self):
          '''returns information about module'''
          if self.download is None:
              return "Not started"
  
          transferred = self.download - self.prev_download
          self.prev_download = self.download
          now = time.time()
          interval = now - self.last_status_time
          self.last_status_time = now
          return("DFLogger: %(state)s Rate(%(interval)ds):%(rate).3fkB/s "
                 "Block:%(block_cnt)d Missing:%(missing)d Fixed:%(fixed)d "
                 "Abandoned:%(abandoned)d" %
                 {"interval": interval,
                  "rate": transferred/(interval*1000),
                  "block_cnt": self.last_seqno,
                  "missing": len(self.missing_blocks),
                  "fixed": self.missing_found,
                  "abandoned": self.abandoned,
                  "state": "Inactive" if self.stopped else "Active"}f status(self):
          '''returns information about module'''
          if self.download is None:
              return "Not started"
  
          transferred = self.download - self.prev_download
          self.prev_download = self.download
          now = time.time()
          interval = now - self.last_status_time
          self.last_status_time = now
          return("DFLogger: %(state)s Rate(%(interval)ds):%(rate).3fkB/s "
                 "Block:%(block_cnt)d Missing:%(missing)d Fixed:%(fixed)d "
                 "Abandoned:%(abandoned)d" %
                 {"interval": interval,
                  "rate": transferred/(interval*1000),
                  "block_cnt": self.last_seqno,
                  "missing": len(self.missing_blocks),
                  "fixed": self.missing_found,
                  "abandoned": self.abandoned,
                  "state": "Inactive" if self.stopped else "Active"})
docs: returns information about module