summaryrefslogtreecommitdiff
path: root/morphlib/git.py
diff options
context:
space:
mode:
authorRob Taylor <rob.taylor@codethink.co.uk>2012-01-19 11:52:09 +0000
committerRob Taylor <rob.taylor@codethink.co.uk>2012-01-19 11:52:09 +0000
commit7254675a089e15a341b2ee6ee2f6cc365a048216 (patch)
treec255dad1e8b16beeea9e0459e6f1a5276f4f93ea /morphlib/git.py
parent6cc10d4bd52ab6c02fbbbf1198acb3d12b83f0c5 (diff)
downloadmorph-7254675a089e15a341b2ee6ee2f6cc365a048216.tar.gz
Remove bad whitespace
Diffstat (limited to 'morphlib/git.py')
-rw-r--r--morphlib/git.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/git.py b/morphlib/git.py
index 234c4ce3..2253e6b5 100644
--- a/morphlib/git.py
+++ b/morphlib/git.py
@@ -64,11 +64,11 @@ class Treeish:
self._is_sha(ref)
def _is_sha(self, ref):
- if len(ref)!=40:
+ if len(ref)!=40:
raise InvalidTreeish(self.repo,ref)
try:
- binascii.unhexlify(ref)
+ binascii.unhexlify(ref)
ex = morphlib.execute.Execute(self.repo, self.msg)
refs = ex.runv(['git', 'rev-list', '--no-walk', ref])
self.sha1=ref