code: def parseBasicOptions(parser):
      
      options = parser.parse_args()
  
      setLoggingFromOptions(options)
  
      #Set up the temp dir root
      if options.tempDirRoot == "None": # FIXME: Really, a string containing the word None?
          options.tempDirRoot = tempfile.gettempdir()
  
      return options
docs: Setups the standard things from things added by getBasicOptionParser.