original_docstring: Parses the user specified VSS stores stirng.
  
      Args:
        vss_stores: a string containing the VSS stores.
                    Where 1 represents the first store.
  
      Returns:
        The list of VSS stores.
  
      Raises:
        BadConfigOption: if the VSS stores option is invalid.
      
docstring: Parses the user specified VSS stores stirng.
docstring_tokens: Parses the user specified VSS stores stirng .
code: def _ParseVssStores(self, vss_stores):
      """Parses the user specified VSS stores stirng.
  
      Args:
        vss_stores: a string containing the VSS stores.
                    Where 1 represents the first store.
  
      Returns:
        The list of VSS stores.
  
      Raises:
        BadConfigOption: if the VSS stores option is invalid.
      """
      if not vss_stores:
        return []
  
      stores = []
      for vss_store_range in vss_stores.split(','):
        # Determine if the range is formatted as 1..3 otherwise it indicates
        # a single store number.
        if '..' in vss_store_range:
          first_store, last_store = vss_store_range.split('..')
          try:
            first_store = int(first_store, 10)
            last_store = int(last_store, 10)
          except ValueError:
            raise errors.BadConfigOption(
                u'Invalid VSS store range: {0:s}.'.format(vss_store_range))
  
          for store_number in range(first_store, last_store + 1):
            if store_number not in stores:
              stores.append(store_number)
        else:
          try:
            store_number = int(vss_store_range, 10)
          except ValueError:
            raise errors.BadConfigOption(
                u'Invalid VSS store range: {0:s}.'.format(vss_store_range))
  
          if store_number not in stores:
            stores.append(store_number)
  
      return sorted(stores)
code_tokens: def _ParseVssStores ( self , vss_stores ) : if not vss_stores : return [ ] stores = [ ] for vss_store_range in vss_stores . split ( ',' ) : if '..' in vss_store_range : first_store , last_store = vss_store_range . split ( '..' ) try : first_store = int ( first_store , 10 ) last_store = int ( last_store , 10 ) except ValueError : raise errors . BadConfigOption ( u'Invalid VSS store range: {0:s}.' . format ( vss_store_range ) ) for store_number in range ( first_store , last_store + 1 ) : if store_number not in stores : stores . append ( store_number ) else : try : store_number = int ( vss_store_range , 10 ) except ValueError : raise errors . BadConfigOption ( u'Invalid VSS store range: {0:s}.' . format ( vss_store_range ) ) if store_number not in stores : stores . append ( store_number ) return sorted ( stores )
short_docstring: Parses the user specified VSS stores stirng.
short_docstring_tokens: Parses the user specified VSS stores stirng .
comment: """Parses the user specified VSS stores stirng.
  
      Args:
        vss_stores: a string containing the VSS stores.
                    Where 1 represents the first store.
  
      Returns:
        The list of VSS stores.
  
      Raises:
        BadConfigOption: if the VSS stores option is invalid.
      """$SEP$# Determine if the range is formatted as 1..3 otherwise it indicates$SEP$# a single store number.