saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

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

    Avoid too many return statements within this function.
    Open

                        return '', {}, msg
    Severity: Major
    Found in salt/modules/file.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                      return _error(
      Severity: Major
      Found in salt/modules/file.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return _error(
        Severity: Major
        Found in salt/modules/file.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                              return _error(
          Severity: Major
          Found in salt/modules/file.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                                return _error(ret, 'Parent directory not present')
            Severity: Major
            Found in salt/modules/file.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

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

                Avoid too many return statements within this function.
                Open

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

                  Avoid too many return statements within this function.
                  Open

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

                    Avoid too many return statements within this function.
                    Open

                                return 'no change'
                    Severity: Major
                    Found in salt/modules/ssh.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                      return _error(exc.__str__())
                      Severity: Major
                      Found in salt/modules/cp.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

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

                          Avoid too many return statements within this function.
                          Open

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

                            Avoid too many return statements within this function.
                            Open

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

                              Avoid too many return statements within this function.
                              Open

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

                                Avoid too many return statements within this function.
                                Open

                                        return 'no change'
                                Severity: Major
                                Found in salt/modules/ssh.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

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

                                    Avoid too many return statements within this function.
                                    Open

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

                                      Avoid too many return statements within this function.
                                      Open

                                                  return _error(makedirs_exc.__str__())
                                      Severity: Major
                                      Found in salt/modules/cp.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

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