parameters: (self)
docstring: Writes the user file.
docstring_summary: Writes the user file.
docstring_tokens: Writes the user file .
function: def WriteIfChanged(self):
      """Writes the user file."""
      configs = ['Configurations']
      for config, spec in sorted(self.configurations.iteritems()):
        configs.append(spec)
  
      content = ['VisualStudioUserFile',
                 {'Version': self.version.ProjectVersion(),
                  'Name': self.name
                 },
                 configs]
      easy_xml.WriteXmlIfChanged(content, self.user_file_path,
                                 encoding="Windows-1252")
function_tokens: def WriteIfChanged ( self ) : configs = [ 'Configurations' ] for config , spec in sorted ( self . configurations . iteritems ( ) ) : configs . append ( spec ) content = [ 'VisualStudioUserFile' , { 'Version' : self . version . ProjectVersion ( ) , 'Name' : self . name } , configs ] easy_xml . WriteXmlIfChanged ( content , self . user_file_path , encoding = "Windows-1252" )