Skip to content
Snippets Groups Projects
Select Git revision
  • 07c1a5ee61cb5a72ab769cb97ad0611c2986d2e6
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
22 results

ipaservicedelegationtarget.py

Blame
    • Rafael Guterres Jeffman's avatar
      24efad73
      pylint: Fix warning 'unnecessary "else" after "return"' · 24efad73
      Rafael Guterres Jeffman authored
      Recent pylint versions warn against the use of an 'else' in a
      'try-except' block if using a 'return' on the 'except' part is is the
      idom used by ansible-freeipa when retrieving IPA data objects.
      
      This change removes the usage of the 'else:' in such cases, and modify
      the templates so that new modules do not have the same issue in the
      future.
      24efad73
      History
      pylint: Fix warning 'unnecessary "else" after "return"'
      Rafael Guterres Jeffman authored
      Recent pylint versions warn against the use of an 'else' in a
      'try-except' block if using a 'return' on the 'except' part is is the
      idom used by ansible-freeipa when retrieving IPA data objects.
      
      This change removes the usage of the 'else:' in such cases, and modify
      the templates so that new modules do not have the same issue in the
      future.
    push-rebase.yaml 768 B
    name: Push [rebase]
    "on":
      push:
        branches:
          - main
    concurrency:
      group: push-rebase-main
      cancel-in-progress: true
    jobs:
      rebase:
        name: Push [rebase]
        runs-on: ubuntu-latest
        steps:
          - name: "Rebase all Dependabot's pull requests on every push to the main branch"
            uses: bbeesley/gha-auto-dependabot-rebase@v1.5.137
            env:
              GITHUB_TOKEN: ${{ secrets.PAT }}
          - name: "Rebase all users' pull requests on release push to the main branch"
            uses: peter-evans/rebase@v3.1.0
            with:
              base: main
              exclude-drafts: true
              exclude-labels: |
                no-rebase
                dependencies
            if: "${{ startsWith(github.event.head_commit.message, 'docs: update changelog for ') }}"