parameters: (self, identifier)
docstring: Handles the config go command, change the 'current' location
             within the configuration tree. '..' will be interpreted as
             'up one level'.
docstring_summary: Handles the config go command, change the 'current' location
             within the configuration tree. '..' will be interpreted as
             'up one level'.
docstring_tokens: Handles the config go command change the current location within the configuration tree . .. will be interpreted as up one level .
function: def go(self, identifier):
          '''Handles the config go command, change the 'current' location
             within the configuration tree. '..' will be interpreted as
             'up one level'.'''
          id_parts = bundy.cc.data.split_identifier(identifier)
  
          new_location = ""
          for id_part in id_parts:
              if (id_part == ".."):
                  # go 'up' one level
                  new_location, a, b = new_location.rpartition("/")
              else:
                  new_location += "/" + id_part
          # check if exists, if not, revert and error
          v,d = self.config_data.get_value(new_location)
          if v is None:
              self._print("Error: " + identifier + " not found")
              return
  
          self.location = new_location
function_tokens: def go ( self , identifier ) : id_parts = bundy . cc . data . split_identifier ( identifier ) new_location = "" for id_part in id_parts : if ( id_part == ".." ) : # go 'up' one level new_location , a , b = new_location . rpartition ( "/" ) else : new_location += "/" + id_part # check if exists, if not, revert and error v , d = self . config_data . get_value ( new_location ) if v is None : self . _print ( "Error: " + identifier + " not found" ) return self . location = new_location