saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

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

    Avoid too many return statements within this function.
    Open

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

      Avoid too many return statements within this function.
      Open

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

        Avoid too many return statements within this function.
        Open

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

          Avoid too many return statements within this function.
          Open

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

            Avoid too many return statements within this function.
            Open

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

              Avoid too many return statements within this function.
              Open

                          return sdb.sdb_get(ret, __opts__)
              Severity: Major
              Found in salt/modules/config.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return {'created': False, 'error': __utils__['boto.get_error'](e)}
                Severity: Major
                Found in salt/modules/boto_vpc.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

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

                    Avoid too many return statements within this function.
                    Open

                            return {'created': False, 'error': __utils__['boto.get_error'](e)}
                    Severity: Major
                    Found in salt/modules/boto_vpc.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return {'created': False, 'error': __utils__['boto.get_error'](e)}
                      Severity: Major
                      Found in salt/modules/boto_vpc.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return 'ERROR: Valid trust levels - {0}'.format(','.join(_VALID_TRUST_LEVELS))
                        Severity: Major
                        Found in salt/modules/gpg.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return _load_response(response)
                          Severity: Major
                          Found in salt/modules/bigip.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

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

                              Avoid too many return statements within this function.
                              Open

                                      return {'vpc': None}
                              Severity: Major
                              Found in salt/modules/boto_vpc.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return {'created': True, 'id': ret.get('NatGatewayId')}
                                Severity: Major
                                Found in salt/modules/boto_vpc.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

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

                                    Avoid too many return statements within this function.
                                    Open

                                            return {'associated': False, 'error': __utils__['boto.get_error'](e)}
                                    Severity: Major
                                    Found in salt/modules/boto_vpc.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

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

                                        Avoid too many return statements within this function.
                                        Open

                                                return False
                                        Severity: Major
                                        Found in salt/modules/win_useradd.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language