summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/repo/base.py')
-rw-r--r--git/repo/base.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index 174f29aa..d1af26e2 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -164,9 +164,6 @@ class Repo(object):
def __hash__(self):
return hash(self.git_dir)
- def __repr__(self):
- return "%s(%r)" % (type(self).__name__, self.git_dir)
-
# Description property
def _get_description(self):
filename = join(self.git_dir, 'description')
@@ -666,7 +663,7 @@ class Repo(object):
# git command automatically chdir into the directory
git = Git(path)
- output = git.init(**kwargs)
+ git.init(**kwargs)
return Repo(path)
@classmethod