diff options
author | Antoine Musso <hashar@free.fr> | 2014-11-16 21:09:47 +0100 |
---|---|---|
committer | Antoine Musso <hashar@free.fr> | 2014-11-16 21:09:47 +0100 |
commit | c8e70749887370a99adeda972cc3503397b5f9a7 (patch) | |
tree | 38e1241fd6d756f783b6b56dc6628ac3ca41ed4f /git/db.py | |
parent | bed3b0989730cdc3f513884325f1447eb378aaee (diff) | |
download | gitpython-c8e70749887370a99adeda972cc3503397b5f9a7.tar.gz |
pep8 linting (trailing whitespace)
W291 trailing whitespace
Diffstat (limited to 'git/db.py')
-rw-r--r-- | git/db.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,6 +1,6 @@ """Module with our own gitdb implementation - it uses the git command""" from exc import ( - GitCommandError, + GitCommandError, BadObject ) @@ -10,7 +10,7 @@ from gitdb.base import ( ) from gitdb.util import ( - bin_to_hex, + bin_to_hex, hex_to_bin ) from gitdb.db import GitDB @@ -24,11 +24,11 @@ __all__ = ('GitCmdObjectDB', 'GitDB') class GitCmdObjectDB(LooseObjectDB): - """A database representing the default git object store, which includes loose + """A database representing the default git object store, which includes loose objects, pack files and an alternates file It will create objects only in the loose object database. - :note: for now, we use the git command to do all the lookup, just until he + :note: for now, we use the git command to do all the lookup, just until he have packs and the other implementations """ @@ -52,7 +52,7 @@ class GitCmdObjectDB(LooseObjectDB): """:return: Full binary 20 byte sha from the given partial hexsha :raise AmbiguousObjectName: :raise BadObject: - :note: currently we only raise BadObject as git does not communicate + :note: currently we only raise BadObject as git does not communicate AmbiguousObjects separately""" try: hexsha, typename, size = self._git.get_object_header(partial_hexsha) |