def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def update_join():
  update_on()
  try:
    _thread.join()
  except:
    update_off()