comparison hg_delta_editor.py @ 164:2a4b7a86af93

Remove unneeded call to list.
author Martin Geisler <mg@daimi.au.dk>
date Tue, 30 Dec 2008 19:24:16 -0600
parents 56dae5beae65
children 3cd6a7354207
comparison
equal deleted inserted replaced
163:fdc249cd1a0a 164:2a4b7a86af93
348 if self.missing_plaintexts: 348 if self.missing_plaintexts:
349 raise MissingPlainTextError() 349 raise MissingPlainTextError()
350 files_to_commit = self.current_files.keys() 350 files_to_commit = self.current_files.keys()
351 files_to_commit.extend(self.current_files_symlink.keys()) 351 files_to_commit.extend(self.current_files_symlink.keys())
352 files_to_commit.extend(self.current_files_exec.keys()) 352 files_to_commit.extend(self.current_files_exec.keys())
353 files_to_commit = sorted(list(set(files_to_commit))) 353 files_to_commit = sorted(set(files_to_commit))
354 branch_batches = {} 354 branch_batches = {}
355 rev = self.current_rev 355 rev = self.current_rev
356 date = rev.date.replace('T', ' ').replace('Z', '').split('.')[0] 356 date = rev.date.replace('T', ' ').replace('Z', '').split('.')[0]
357 date += ' -0000' 357 date += ' -0000'
358 358