From afd200fdc22a92ab8acc2c39d3caed01dc9ff92f Mon Sep 17 00:00:00 2001 From: Andrii Lytovchenko Date: Tue, 14 Dec 2021 13:47:54 +0100 Subject: [PATCH] refactor: rename ReadMe file refactor: fix refactor: fix --- .github/workflows/deployment.yml | 3 ++- README.md => README.rst | 0 src/COMDIRAC/Interfaces/Utilities/DCommands.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename README.md => README.rst (100%) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 7fb0049..a338952 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -3,6 +3,7 @@ name: Deployment on: push: tags: + - v1r3p[0-9]+ pull_request: jobs: @@ -18,7 +19,7 @@ jobs: - name: Install dependencies run: pip install build readme_renderer diraccfg - name: Validate README for PyPI - run: python -m readme_renderer README.* -o /tmp/README.html + run: python -m readme_renderer README.rst -o /tmp/README.html - name: Make PEP-440 style release on GitHub id: PEP-440 if: github.event_name == 'push' diff --git a/README.md b/README.rst similarity index 100% rename from README.md rename to README.rst diff --git a/src/COMDIRAC/Interfaces/Utilities/DCommands.py b/src/COMDIRAC/Interfaces/Utilities/DCommands.py index 9606b2c..2d785dc 100644 --- a/src/COMDIRAC/Interfaces/Utilities/DCommands.py +++ b/src/COMDIRAC/Interfaces/Utilities/DCommands.py @@ -241,7 +241,7 @@ def remove(self, section, option=None): ) self.config.remove_option(section, option) else: - self.config.remove_section(self, section) + self.config.remove_section(section) return S_OK()