summaryrefslogtreecommitdiff
path: root/git_crecord/gitrepo.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_crecord/gitrepo.py')
-rw-r--r--git_crecord/gitrepo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/git_crecord/gitrepo.py b/git_crecord/gitrepo.py
index 7b64326..c5f1843 100644
--- a/git_crecord/gitrepo.py
+++ b/git_crecord/gitrepo.py
@@ -4,7 +4,7 @@ from . import util
INDEX_FILENAME = "index"
-class GitTree(object):
+class GitTree:
def __init__(self, tree):
self._tree = tree
@@ -15,7 +15,7 @@ class GitTree(object):
util.system(['git', 'read-tree', '--reset',
self._tree], onerr=RuntimeError)
-class GitIndex(object):
+class GitIndex:
def __init__(self, filename):
self._filename = filename
self.indextree = None
@@ -36,7 +36,7 @@ class GitIndex(object):
raise util.Abort('failed to read the index: %s' % inst)
return self.indextree
-class GitRepo(object):
+class GitRepo:
def __init__(self, path):
try:
self.path = util.systemcall(['git', 'rev-parse', '--show-toplevel'],