diff --git a/oslo_service/service.py b/oslo_service/service.py index 87e255f..e7c8e85 100644 --- a/oslo_service/service.py +++ b/oslo_service/service.py @@ -239,8 +239,7 @@ class Launcher(object): """Reload config files and restart service. :returns: The return value from reload_config_files or - mutate_config_files, according to the restart_method. - + mutate_config_files, according to the restart_method. """ if self.restart_method == 'reload': self.conf.reload_config_files() diff --git a/oslo_service/tests/base.py b/oslo_service/tests/base.py index e231565..7a45b63 100644 --- a/oslo_service/tests/base.py +++ b/oslo_service/tests/base.py @@ -39,7 +39,7 @@ class ServiceBaseTestCase(test_base.BaseTestCase): def get_new_temp_dir(self): """Create a new temporary directory. - :returns fixtures.TempDir + :returns: fixtures.TempDir """ return self.useFixture(fixtures.TempDir()) @@ -48,7 +48,7 @@ class ServiceBaseTestCase(test_base.BaseTestCase): Returns the same directory during the whole test case. - :returns fixtures.TempDir + :returns: fixtures.TempDir """ if not hasattr(self, '_temp_dir'): self._temp_dir = self.get_new_temp_dir() @@ -67,7 +67,7 @@ class ServiceBaseTestCase(test_base.BaseTestCase): :type filename: string :param root: temporary directory to create a new file in :type root: fixtures.TempDir - :returns absolute file path string + :returns: absolute file path string """ root = root or self.get_default_temp_dir() return root.join(filename)