summaryrefslogtreecommitdiff
path: root/git/refs/log.py
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2018-03-18 21:33:18 +0200
committerHugo <hugovk@users.noreply.github.com>2018-03-18 22:26:31 +0200
commitac4f7d34f8752ab78949efcaa9f0bd938df33622 (patch)
tree0c7acd1d3c1e0012d26d610c7a9fe81197e28a5e /git/refs/log.py
parent14582df679a011e8c741eb5dcd8126f883e1bc71 (diff)
downloadgitpython-ac4f7d34f8752ab78949efcaa9f0bd938df33622.tar.gz
Rewrite unnecessary dict/list/tuple calls as literals
Diffstat (limited to 'git/refs/log.py')
-rw-r--r--git/refs/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/refs/log.py b/git/refs/log.py
index 1c085ef1..ac2fe6ea 100644
--- a/git/refs/log.py
+++ b/git/refs/log.py
@@ -32,7 +32,7 @@ class RefLogEntry(tuple):
"""Named tuple allowing easy access to the revlog data fields"""
_re_hexsha_only = re.compile('^[0-9A-Fa-f]{40}$')
- __slots__ = tuple()
+ __slots__ = ()
def __repr__(self):
"""Representation of ourselves in git reflog format"""