summaryrefslogtreecommitdiff
path: root/gitdb/pack.py
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2022-11-16 18:17:20 +0200
committerHugo van Kemenade <hugovk@users.noreply.github.com>2022-11-16 18:17:20 +0200
commit7a68270d6c78b81f577b433dc6351b26bc27b7cf (patch)
tree12f0a4ff8748c723e8fa750720b32037a4debe90 /gitdb/pack.py
parentfaed217d14965932b333c07219ed401a661d2651 (diff)
downloadgitdb-7a68270d6c78b81f577b433dc6351b26bc27b7cf.tar.gz
Upgrade Python syntax with pyupgrade --py37-plus
Diffstat (limited to 'gitdb/pack.py')
-rw-r--r--gitdb/pack.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitdb/pack.py b/gitdb/pack.py
index 0b26c12..cabce4c 100644
--- a/gitdb/pack.py
+++ b/gitdb/pack.py
@@ -170,7 +170,7 @@ def write_stream_to_pack(read, write, zstream, base_crc=None):
#} END utilities
-class IndexWriter(object):
+class IndexWriter:
"""Utility to cache index information, allowing to write all information later
in one go to the given stream
@@ -257,7 +257,7 @@ class PackIndexFile(LazyMixin):
index_version_default = 2
def __init__(self, indexpath):
- super(PackIndexFile, self).__init__()
+ super().__init__()
self._indexpath = indexpath
def close(self):