fault: Clean-up /usr/bin/env instances

The dependency resolver for RPM relies on the shebang to have the
interperter that will be used in order to get things right, so
change shebang to /usr/bin/python.

In other cases, the shebang is not needed at all as these are not
really executable python files, they are part of the python package.
RPMLINT finds these and complains that a non-executable has a shebang.

Change-Id: Ie90a846d6addffca1225e59fd8b6f3753d2991a4
Signed-off-by: Saul Wold <sgw@linux.intel.com>
changes/26/665026/1
Saul Wold 3 years ago
parent 8142803bfd
commit 85f6ec6ea3
  1. 2
      fm-common/sources/fm_db_sync_event_suppression.py
  2. 2
      fm-doc/fm_doc/check_missing_alarms.py
  3. 1
      fm-rest-api/fm/fm/api/controllers/v1/collection.py
  4. 1
      python-fmclient/fmclient/fmclient/common/options.py

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
# Copyright (c) 2016-2018 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
# Copyright (c) 2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0

@ -1,4 +1,3 @@
#!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 Red Hat, Inc.

@ -1,4 +1,3 @@
#!/usr/bin/env python
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain

Loading…
Cancel
Save