diff options
author | 2015-05-11 15:59:51 -0700 | |
---|---|---|
committer | 2015-05-11 17:57:04 -0700 | |
commit | e38c10115c58a84f16d724aafa3633415080f39f (patch) | |
tree | 842b73d55ec0852a4a461c8eff1edb796be705d0 | |
parent | portage/sync/modules/webrsync: Correct the kwargs.pop() to pop self.spawn_kwargs (diff) | |
download | portage-e38c10115c58a84f16d724aafa3633415080f39f.tar.gz portage-e38c10115c58a84f16d724aafa3633415080f39f.tar.bz2 portage-e38c10115c58a84f16d724aafa3633415080f39f.zip |
portage/sync/modules/squashdelta: Add some initial docstrings
-rw-r--r-- | pym/portage/sync/modules/squashdelta/squashdelta.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pym/portage/sync/modules/squashdelta/squashdelta.py b/pym/portage/sync/modules/squashdelta/squashdelta.py index f9dcb8361..dbfdee9a6 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 <mgorny@gentoo.org> # 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: |