parameters: (self, description)
docstring: Add directory where globe will be built.
docstring_summary: Add directory where globe will be built.
docstring_tokens: Add directory where globe will be built .
function: def AddGlobeDirectory(self, description):
      """Add directory where globe will be built."""
      # Add early for info file.
      try:
        os.makedirs(self.plugin_dir)
      except os.error:
        pass  # Directory may already exist
  
      try:
        os.makedirs(self.dbroot_dir)
      except os.error:
        pass  # Directory may already exist
  
      self.CreateInfoFile()
      if description:
        self.AppendInfoFile("Globe description: %s" % description)
        self.Status("Description: %s" % description)
      else:
        self.Status("No description given.")
  
      self.logger.Log("Added globe directory: %s" % self.globe_dir)
      self.Status("Added globe directory: %s" % self.globe_dir)
function_tokens: def AddGlobeDirectory ( self , description ) : # Add early for info file. try : os . makedirs ( self . plugin_dir ) except os . error : pass # Directory may already exist try : os . makedirs ( self . dbroot_dir ) except os . error : pass # Directory may already exist self . CreateInfoFile ( ) if description : self . AppendInfoFile ( "Globe description: %s" % description ) self . Status ( "Description: %s" % description ) else : self . Status ( "No description given." ) self . logger . Log ( "Added globe directory: %s" % self . globe_dir ) self . Status ( "Added globe directory: %s" % self . globe_dir )