From 72993365a17429e1c59e08930b3dbc863ccd076b Mon Sep 17 00:00:00 2001 From: Cao Xuan Hoang Date: Mon, 6 Feb 2017 10:47:43 +0700 Subject: [PATCH] Docstrings should not start with a space As per OpenStack Docstrings guide lines [1]: [H401] Docstrings should not start with a space. [1] http://docs.openstack.org/developer/hacking/#docstrings Change-Id: I5435fa6293e7fef27500a4bb762a5aad0effc6d7 --- lib/filesystem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/filesystem.py b/lib/filesystem.py index 512f39700f..fd9af99360 100644 --- a/lib/filesystem.py +++ b/lib/filesystem.py @@ -142,7 +142,7 @@ def _extra_config(user_defined_config, base_dir): def _make_backup(backup_path, source_file_path): - """ Create a backup of all previous inventory files as a tar archive + """Create a backup of all previous inventory files as a tar archive :param backup_path: where to store the backup file :param source_file_path: path of file to backup @@ -161,7 +161,7 @@ def _make_backup(backup_path, source_file_path): def _get_backup_name(basename): - """ Return a name for a backup file based on the time + """Return a name for a backup file based on the time :param basename: serves as prefix for the return value :return: a name for a backup file based on current time