code: def _UserUpdateIgnoredDirs(self, origIgnoredDirs = []):
      
      ignoredDirs = list(origIgnoredDirs)
  
      inputDone = None
      while inputDone is None:
        prompt = "Enter new directory to ignore (e.g. DONE), " \
                             "'r' to reset directory list, " \
                             "'f' to finish or " \
                             "'x' to exit: "
        response = goodlogging.Log.Input("CLEAR", prompt)
  
        if response.lower() == 'x':
          sys.exit(0)
        elif response.lower() == 'f':
          inputDone = 1
        elif response.lower() == 'r':
          ignoredDirs = []
        else:
          if response is not None:
            ignoredDirs.append(response)
  
      ignoredDirs = set(ignoredDirs)
      origIgnoredDirs = set(origIgnoredDirs)
  
      if ignoredDirs != origIgnoredDirs:
        self._db.PurgeIgnoredDirs()
        for ignoredDir in ignoredDirs:
          self._db.AddIgnoredDir(ignoredDir)
  
      return list(ignoredDirs)
docs: Add ignored directories to database table. Always called if the
      database table is empty.
  
      User can build a list of entries to add to the database table
      (one entry at a time). Once finished they select the finish option
      and all entries will be added to the table. They can reset the
      list at any time before finishing.
  
      Parameters
      ----------
        origIgnoredDirs : list [optional : default = []]
          List of original ignored directories from database table.
  
      Returns
      ----------
        string
          List of updated ignored directories from database table.