code: def retry(self, msg, e, retry_num, waittime):
          ''' Creates the retry message and waits the 
          given default time when a method call fails
          or a server does not respond appropriately.
          '''
          self.msg.error_message(msg)
          self.msg.error_message(e)
          self.msg.error_message("Attempt number " + str(retry_num) + ". Retrying in " + str(waittime) + " seconds.")
          time.sleep(waittimef retry(self, msg, e, retry_num, waittime):
          ''' Creates the retry message and waits the 
          given default time when a method call fails
          or a server does not respond appropriately.
          '''
          self.msg.error_message(msg)
          self.msg.error_message(e)
          self.msg.error_message("Attempt number " + str(retry_num) + ". Retrying in " + str(waittime) + " seconds.")
          time.sleep(waittime)
docs: Creates the retry message and waits the 
          given default time when a method call fails
          or a server does not respond appropriately.