From c8e70749887370a99adeda972cc3503397b5f9a7 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sun, 16 Nov 2014 21:09:47 +0100 Subject: pep8 linting (trailing whitespace) W291 trailing whitespace --- git/db.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'git/db.py') diff --git a/git/db.py b/git/db.py index 5bb45a5e..2cafd766 100644 --- a/git/db.py +++ b/git/db.py @@ -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) -- cgit v1.2.1