# HG changeset patch # User Sean Farley # Date 1511825664 18000 # Node ID 6ef251fdbb30c5b3c8bed948a38aaba3528e7b3a # Parent e31243879891a4c3008a6c6934a064448e083190 cleanup: use tuple instead of list since path is immutable diff -r e31243879891 -r 6ef251fdbb30 hggit/git_handler.py --- a/hggit/git_handler.py Mon Nov 27 18:26:57 2017 -0500 +++ b/hggit/git_handler.py Mon Nov 27 18:34:24 2017 -0500 @@ -239,7 +239,7 @@ paths = self.paths # if paths are set, we should still check 'default' if not paths: - paths = [('default', None),] + paths = (('default', None),) # we avoid using dulwich's refs method because it is incredibly slow; # on a repo with a few hundred branches and a few thousand tags,