changeset 164:2a4b7a86af93

Remove unneeded call to list.
author Martin Geisler <mg@daimi.au.dk>
date Tue, 30 Dec 2008 19:24:16 -0600
parents fdc249cd1a0a
children a05250261102
files hg_delta_editor.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hg_delta_editor.py
+++ b/hg_delta_editor.py
@@ -350,7 +350,7 @@ class HgChangeReceiver(delta.Editor):
         files_to_commit = self.current_files.keys()
         files_to_commit.extend(self.current_files_symlink.keys())
         files_to_commit.extend(self.current_files_exec.keys())
-        files_to_commit = sorted(list(set(files_to_commit)))
+        files_to_commit = sorted(set(files_to_commit))
         branch_batches = {}
         rev = self.current_rev
         date = rev.date.replace('T', ' ').replace('Z', '').split('.')[0]