saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

        return results
Severity: Major
Found in salt/runners/net.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return {'certificate': cert}
    Severity: Major
    Found in salt/runners/digicertapi.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return {name: "Specified platform name does not exist on {0}".format(server_url)}
      Severity: Major
      Found in salt/runners/asam.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return {name: "Successfully deleted platform from {0}".format(server_url)}
        Severity: Major
        Found in salt/runners/asam.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

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

            Avoid too many return statements within this function.
            Open

                        return
            Severity: Major
            Found in salt/netapi/rest_tornado/saltnado.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return {name: "Failed to add platform on {0}".format(server_url)}
              Severity: Major
              Found in salt/runners/asam.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return obj
                Severity: Major
                Found in salt/renderers/aws_kms.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return True
                  Severity: Major
                  Found in salt/netapi/rest_cherrypy/app.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return obj
                    Severity: Major
                    Found in salt/renderers/gpg.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                      return False
                      Severity: Major
                      Found in salt/netapi/rest_cherrypy/app.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return 'good'
                        Severity: Major
                        Found in salt/runners/virt.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return {name: "Successfully added platform on {0}".format(server_url)}
                          Severity: Major
                          Found in salt/runners/asam.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return {'error': six.text_type(e)}
                            Severity: Major
                            Found in salt/runners/vault.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return obj
                              Severity: Major
                              Found in salt/renderers/nacl.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return
                                Severity: Major
                                Found in salt/netapi/rest_cherrypy/app.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

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

                                    Avoid too many return statements within this function.
                                    Open

                                            return obj
                                    Severity: Major
                                    Found in salt/renderers/nacl.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return {}
                                      Severity: Major
                                      Found in salt/pillar/django_orm.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return obj
                                        Severity: Major
                                        Found in salt/renderers/aws_kms.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language