def initDriveClient(self, restart=False): if DEBUG: print "INITING DRIVE CLIENT" if not hasattr(self, "drive_client") or restart: self.drive_client = UnveillanceAnnexClient() sleep(2) return self.do_get_drive_status()