diff options
author | Florian Apolloner <florian@apolloner.eu> | 2008-05-20 15:56:38 +0200 |
---|---|---|
committer | Florian Apolloner <florian@apolloner.eu> | 2008-05-20 15:56:38 +0200 |
commit | 35ddb45b41b3de2d4f783608ad8d8752f6557997 (patch) | |
tree | aa5cc1acfcf65a4c7889846c227e85386090f719 /lib/git_python/stats.py | |
parent | 1dc09f0ece61ef2bd629e8bfe532aa24f4f8e0c2 (diff) | |
download | gitpython-35ddb45b41b3de2d4f783608ad8d8752f6557997.tar.gz |
removed unneeded spaces
Diffstat (limited to 'lib/git_python/stats.py')
-rw-r--r-- | lib/git_python/stats.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git_python/stats.py b/lib/git_python/stats.py index f1e10348..95dc875e 100644 --- a/lib/git_python/stats.py +++ b/lib/git_python/stats.py @@ -3,7 +3,7 @@ class Stats(object): self.repo = repo self.total = total self.files = files - + @classmethod def list_from_string(cls, repo, text): hsh = {'total': {'insertions': 0, 'deletions': 0, 'lines': 0, 'files': 0}, 'files': {}} @@ -14,4 +14,4 @@ class Stats(object): hsh['total']['lines'] = (hsh['total']['deletions'] + hsh['total']['insertions']) hsh['total']['files'] += 1 hsh['files'][filename.strip()] = {'insertions': int(insertions), 'deletions': int(deletions)} - return Stats(repo, hsh['total'], hsh['files'])
\ No newline at end of file + return Stats(repo, hsh['total'], hsh['files']) |