saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

        return ret
Severity: Major
Found in salt/modules/nftables.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return resp
    Severity: Major
    Found in salt/modules/solr.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return salt.utils.stringutils.to_str(cert.as_pem())
      Severity: Major
      Found in salt/modules/x509.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return ret
        Severity: Major
        Found in salt/modules/tls.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return {'result': False,
          Severity: Major
          Found in salt/modules/nftables.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return {'result': True, 'handle': match.group('handle')}
            Severity: Major
            Found in salt/modules/nftables.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return ret
              Severity: Major
              Found in salt/modules/nftables.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return ret
                Severity: Major
                Found in salt/modules/nftables.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return 'iptables'
                  Severity: Major
                  Found in salt/modules/napalm_netacl.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return six.text_type(except_)
                    Severity: Major
                    Found in salt/modules/x509.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return 'Created Certificate for "{0}": "{1}/{2}.crt"'.format(
                      Severity: Major
                      Found in salt/modules/tls.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return ret
                        Severity: Major
                        Found in salt/modules/nftables.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return ret
                          Severity: Major
                          Found in salt/modules/nftables.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return 'paloaltofw'
                            Severity: Major
                            Found in salt/modules/napalm_netacl.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return res
                              Severity: Major
                              Found in salt/modules/nftables.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return _http_request(url)
                                Severity: Major
                                Found in salt/modules/solr.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return False
                                  Severity: Major
                                  Found in salt/modules/nftables.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return ret
                                    Severity: Major
                                    Found in salt/modules/nftables.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return ('Revoked Certificate: "{0}/{1}.crt", '
                                      Severity: Major
                                      Found in salt/modules/tls.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return 'Not Defined'
                                        Severity: Major
                                        Found in salt/modules/win_lgpo.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language