changeset 1114:6ef251fdbb30

cleanup: use tuple instead of list since path is immutable
author Sean Farley <sean@farley.io>
date Mon, 27 Nov 2017 18:34:24 -0500
parents e31243879891
children 8ed6c0cae9b8
files hggit/git_handler.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,