From 05681731cc76487de3beb1b57ade6292d576b3c0 Mon Sep 17 00:00:00 2001 From: Daniel Dourvaris Date: Tue, 9 Aug 2016 18:19:36 +0300 Subject: [PATCH] api: fix spelling of deprecated --- rhodecode/api/tests/test_deprecated_api.py | 4 ++-- rhodecode/api/views/{depracated_api.py => deprecated_api.py} | 0 rhodecode/lib/paster_commands/make_config.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename rhodecode/api/views/{depracated_api.py => deprecated_api.py} (100%) diff --git a/rhodecode/api/tests/test_deprecated_api.py b/rhodecode/api/tests/test_deprecated_api.py index 8800e4c8..0176e62b 100644 --- a/rhodecode/api/tests/test_deprecated_api.py +++ b/rhodecode/api/tests/test_deprecated_api.py @@ -21,7 +21,7 @@ import pytest -from rhodecode.api.views import depracated_api +from rhodecode.api.views import deprecated_api from rhodecode.lib.ext_json import json from rhodecode.api.tests.utils import ( build_data, api_call) @@ -30,7 +30,7 @@ from rhodecode.api.tests.utils import ( @pytest.mark.usefixtures("testuser_api", "app") class TestCommitComment(object): def test_deprecated_message_in_docstring(self): - docstring = depracated_api.changeset_comment.__doc__ + docstring = deprecated_api.changeset_comment.__doc__ assert '.. deprecated:: 3.4.0' in docstring assert 'Please use method `comment_commit` instead.' in docstring diff --git a/rhodecode/api/views/depracated_api.py b/rhodecode/api/views/deprecated_api.py similarity index 100% rename from rhodecode/api/views/depracated_api.py rename to rhodecode/api/views/deprecated_api.py diff --git a/rhodecode/lib/paster_commands/make_config.py b/rhodecode/lib/paster_commands/make_config.py index 4ef39a1a..fd2a2c55 100644 --- a/rhodecode/lib/paster_commands/make_config.py +++ b/rhodecode/lib/paster_commands/make_config.py @@ -19,7 +19,7 @@ # and proprietary license terms, please see https://rhodecode.com/licenses/ """ -depracated make-config paster command for RhodeCode +deprecated make-config paster command for RhodeCode """ import os