Changeset cad2775ca76d…
Parent 527a2bd585d8…
by
Changes to one file · Browse files at cad2775ca76d Showing diff from parent 527a2bd585d8 Diff from another changeset...
@@ -623,7 +623,7 @@ elif len(sha) == 20:
return sha_to_hex(sha)
else:
- raise ValueError("Invalid sha %r" % sha)
+ raise ValueError("Invalid sha %r" % (sha,))
def contains_loose(self, sha):
"""Check if a particular object is present by SHA1 and is loose."""
|
Loading...