summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-04 13:48:29 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-04 13:48:29 +0100
commitc80d727e374321573bb00e23876a67c77ff466e3 (patch)
tree7590d6ae544eac56e83639d27e1f9013b38d8a4b /git/repo/base.py
parent965a08c3f9f2fbd62691d533425c699c943cb865 (diff)
downloadgitpython-c80d727e374321573bb00e23876a67c77ff466e3.tar.gz
Bumped version, updated changelog, reduced code smell
There is more work to do though, as many imports are still incorrect. Also, there are still print statements
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