162 self._write(" </VcsOtherData>") |
162 self._write(" </VcsOtherData>") |
163 self._write(" </Vcs>") |
163 self._write(" </Vcs>") |
164 |
164 |
165 # do the filetype associations |
165 # do the filetype associations |
166 self._write(" <FiletypeAssociations>") |
166 self._write(" <FiletypeAssociations>") |
167 for pattern, filetype in self.pdata["FILETYPES"].items(): |
167 for pattern, filetype in list(self.pdata["FILETYPES"].items()): |
168 self._write(' <FiletypeAssociation pattern="%s" type="%s" />' % \ |
168 self._write(' <FiletypeAssociation pattern="%s" type="%s" />' % \ |
169 (pattern, filetype)) |
169 (pattern, filetype)) |
170 self._write(" </FiletypeAssociations>") |
170 self._write(" </FiletypeAssociations>") |
171 |
171 |
172 # do the lexer associations |
172 # do the lexer associations |
173 if self.pdata["LEXERASSOCS"]: |
173 if self.pdata["LEXERASSOCS"]: |
174 self._write(" <LexerAssociations>") |
174 self._write(" <LexerAssociations>") |
175 for pattern, lexer in self.pdata["LEXERASSOCS"].items(): |
175 for pattern, lexer in list(self.pdata["LEXERASSOCS"].items()): |
176 self._write(' <LexerAssociation pattern="%s" lexer="%s" />' % \ |
176 self._write(' <LexerAssociation pattern="%s" lexer="%s" />' % \ |
177 (pattern, lexer)) |
177 (pattern, lexer)) |
178 self._write(" </LexerAssociations>") |
178 self._write(" </LexerAssociations>") |
179 |
179 |
180 # do the extra project data stuff |
180 # do the extra project data stuff |