saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

                return 'Invalid value for "execution_time_limit"'
Severity: Major
Found in salt/modules/win_task.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                    return 'Invalid value for "restart_every"'
    Severity: Major
    Found in salt/modules/win_task.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return 'Invalid end_time'
      Severity: Major
      Found in salt/modules/win_task.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return 'Required parameter "message" not found'
        Severity: Major
        Found in salt/modules/win_task.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return _save_task_definition(name=name,
          Severity: Major
          Found in salt/modules/win_task.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return 'Required parameter "months_of_year" not passed'
            Severity: Major
            Found in salt/modules/win_task.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return 'Required parameter "days_of_week" not passed'
              Severity: Major
              Found in salt/modules/win_task.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return out['stderr']
                Severity: Major
                Found in salt/modules/mount.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return 'Required parameter "days_of_week" not passed'
                  Severity: Major
                  Found in salt/modules/win_task.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return _save_task_definition(name=name,
                    Severity: Major
                    Found in salt/modules/win_task.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return 'Required parameter "to" or "cc" not found'
                      Severity: Major
                      Found in salt/modules/win_task.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return 'Required parameter "title" not found'
                        Severity: Major
                        Found in salt/modules/win_task.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return '{0} not found'.format(name)
                          Severity: Major
                          Found in salt/modules/win_task.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return 'Monthly trigger requires "days_of_month" or "last_day_of_' \
                            Severity: Major
                            Found in salt/modules/win_task.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

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

                                Avoid too many return statements within this function.
                                Open

                                            return 'Required parameter "months_of_year" not passed'
                                Severity: Major
                                Found in salt/modules/win_task.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return 'Warn: Entry {0} already exists in set {1}'.format(cmd, setname)
                                  Severity: Major
                                  Found in salt/modules/ipset.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

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

                                      Avoid too many return statements within this function.
                                      Open

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

                                        Avoid too many return statements within this function.
                                        Open

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