Changeset 179
- Timestamp:
- 14-04-07 22:27:14 (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
moap/command/cl.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r177 r179 1 2007-04-14 Thomas Vander Stichele <thomas at apestaart dot org> 2 3 * moap/command/cl.py (Prepare.do): 4 Don't use ctags on files that got deleted. 5 1 6 2007-04-14 Thomas Vander Stichele <thomas at apestaart dot org> 2 7 -
trunk/moap/command/cl.py
r170 r179 217 217 files.sort() 218 218 219 # run ctags only on files that aren't deleted 220 ctagsFiles = files[:] 221 for f in files: 222 if not os.path.exists(f): 223 ctagsFiles.remove(f) 224 219 225 # get the tags for all the files we're looking at 220 226 ct = ctags.CTags() … … 230 236 else: 231 237 self.stdout.write('Extracting affected tags from source.\n') 232 command = "%s -u --fields=+nlS -f - %s" % (binary, " ".join(files)) 238 command = "%s -u --fields=+nlS -f - %s" % ( 239 binary, " ".join(ctagsFiles)) 233 240 self.debug('Running command %s' % command) 234 241 output = commands.getoutput(command)
Note: See TracChangeset
for help on using the changeset viewer.
