Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py

changeset 415
59a0f9e90768
parent 253
3ccdf551bde7
child 564
b3d966393ba9
equal deleted inserted replaced
414:8c91e942d2da 415:59a0f9e90768
134 args.append('-x') 134 args.append('-x')
135 args.append(d) 135 args.append(d)
136 if self.parameters['ignoreFilePatterns'] != self.defaults['ignoreFilePatterns']: 136 if self.parameters['ignoreFilePatterns'] != self.defaults['ignoreFilePatterns']:
137 parms['ignoreFilePatterns'] = self.parameters['ignoreFilePatterns'][:] 137 parms['ignoreFilePatterns'] = self.parameters['ignoreFilePatterns'][:]
138 for pattern in self.parameters['ignoreFilePatterns']: 138 for pattern in self.parameters['ignoreFilePatterns']:
139 args.append("--exclude-file=%s" % pattern) 139 args.append("--exclude-file={0}".format(pattern))
140 if self.parameters['useRecursion'] != self.defaults['useRecursion']: 140 if self.parameters['useRecursion'] != self.defaults['useRecursion']:
141 parms['useRecursion'] = self.parameters['useRecursion'] 141 parms['useRecursion'] = self.parameters['useRecursion']
142 args.append('-r') 142 args.append('-r')
143 if self.parameters['sourceExtensions'] != self.defaults['sourceExtensions']: 143 if self.parameters['sourceExtensions'] != self.defaults['sourceExtensions']:
144 parms['sourceExtensions'] = self.parameters['sourceExtensions'][:] 144 parms['sourceExtensions'] = self.parameters['sourceExtensions'][:]
148 if self.parameters['includePrivate'] != self.defaults['includePrivate']: 148 if self.parameters['includePrivate'] != self.defaults['includePrivate']:
149 parms['includePrivate'] = self.parameters['includePrivate'] 149 parms['includePrivate'] = self.parameters['includePrivate']
150 args.append('-p') 150 args.append('-p')
151 parms['languages'] = self.parameters['languages'][:] 151 parms['languages'] = self.parameters['languages'][:]
152 for lang in self.parameters['languages']: 152 for lang in self.parameters['languages']:
153 args.append('--language=%s' % lang) 153 args.append('--language={0}'.format(lang))
154 154
155 return (args, parms) 155 return (args, parms)
156 156
157 @pyqtSlot() 157 @pyqtSlot()
158 def on_outputFileButton_clicked(self): 158 def on_outputFileButton_clicked(self):

eric ide

mercurial