commit: e38c10115c58a84f16d724aafa3633415080f39f Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> AuthorDate: Mon May 11 22:59:51 2015 +0000 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> CommitDate: Tue May 12 00:57:04 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=e38c1011
portage/sync/modules/squashdelta: Add some initial docstrings pym/portage/sync/modules/squashdelta/squashdelta.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pym/portage/sync/modules/squashdelta/squashdelta.py b/pym/portage/sync/modules/squashdelta/squashdelta.py index f9dcb83..dbfdee9 100644 --- a/pym/portage/sync/modules/squashdelta/squashdelta.py +++ b/pym/portage/sync/modules/squashdelta/squashdelta.py @@ -2,6 +2,9 @@ # (c) 2015 Michał Górny <[email protected]> # Distributed under the terms of the GNU General Public License v2 +'''SquashDelta sync module for portage''' + + import errno import io import logging @@ -21,6 +24,8 @@ class SquashDeltaError(Exception): class SquashDeltaSync(SyncBase): + '''Repository syncing using SquashFS deltas''' + short_desc = "Repository syncing using SquashFS deltas" @staticmethod @@ -179,6 +184,7 @@ class SquashDeltaSync(SyncBase): raise SquashDeltaError() def sync(self, **kwargs): + '''Sync the repository''' self._kwargs(kwargs) try:
