From f56bc1ca2f58b265f34ed6f38fb0dd8dd9153075 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Wed, 1 May 2019 12:07:59 -0700 Subject: [PATCH] Docstring and comment cleanup --- rbackup/struct/repository.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/rbackup/struct/repository.py b/rbackup/struct/repository.py index 917d4c8..21d8d3d 100644 --- a/rbackup/struct/repository.py +++ b/rbackup/struct/repository.py @@ -76,14 +76,13 @@ class Repository(Hierarchy): >>> del r[0] """ - """Snapshots are serialized as their names relative to the repository - data directory, but have their full paths during runtime. + # Snapshots are serialized as their names relative to the repository + # data directory, but have their full paths during runtime. - Private Attributes - * _snapshots - list of Snapshot objects created and accessed at runtime - * _snapshot_metadata - list of Snapshot names serialized and deserialized - when this Repository is first created - """ + # Private Attributes + # * _snapshots - list of Snapshot objects created and accessed at runtime + # * _snapshot_metadata - list of Snapshot names serialized and deserialized + # when this Repository is first created def __init__(self, dest): """Default constructor for the Repository class.""" @@ -216,7 +215,8 @@ class Repository(Hierarchy): :param remove_snapshots: delete the data directory of this repository (default: ``False``) :type remove_snapshots: bool - :param remove_repo_dir: remove the top-level directory of this repository (default: ``False``) + :param remove_repo_dir: remove the top-level directory of + this repository (default: ``False``) :type remove_repo_dir: bool """ # We don't want to risk symlink attacks