Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#13271 closed Patch - Feature (fixed)

Code cleanup - remove execute bits on specific python files

Reported by: Gary Buhrmaster Owned by: David Hampton
Priority: minor Milestone: unknown
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Some of the hardwareprofile (smolt) python files are marked as executable, but do not have a valid shebang. Some build processes report a warning for such files. This proposed patch removes the executable bits from the files to match the other files in that directory.

Proposed patch:

diff --git a/mythtv/programs/scripts/hardwareprofile/distros/mythtv_data/data_mythtv.py b/mythtv/programs/scripts/hardwareprofile/distros/mythtv_data/data_mythtv.py
old mode 100755
new mode 100644
diff --git a/mythtv/programs/scripts/hardwareprofile/distros/mythtv_data/orddict.py b/mythtv/programs/scripts/hardwareprofile/distros/mythtv_data/orddict.py
old mode 100755
new mode 100644
diff --git a/mythtv/programs/scripts/hardwareprofile/distros/mythtv_data/request.py b/mythtv/programs/scripts/hardwareprofile/distros/mythtv_data/request.py
old mode 100755
new mode 100644
diff --git a/mythtv/programs/scripts/hardwareprofile/distros/mythtv_data/uuiddb.py b/mythtv/programs/scripts/hardwareprofile/distros/mythtv_data/uuiddb.py
old mode 100755
new mode 100644

Change History (3)

comment:1 Changed 6 years ago by David Hampton

Owner: set to David Hampton
Status: newaccepted

comment:2 Changed 6 years ago by David Hampton <mythtv@…>

Resolution: fixed
Status: acceptedclosed

In e92d6f72ea/mythtv:

Remove execute bits on specific python files.

Some of the hardwareprofile (smolt) python files are marked as
executable, but do not have a valid shebang. Some build processes
report a warning for such files.

Patch from Gary Buhrmaster, fixes #13271.

comment:3 Changed 6 years ago by David Hampton <mythtv@…>

In e92d6f72ea/mythtv:

Remove execute bits on specific python files.

Some of the hardwareprofile (smolt) python files are marked as
executable, but do not have a valid shebang. Some build processes
report a warning for such files.

Patch from Gary Buhrmaster, fixes #13271.

Note: See TracTickets for help on using tickets.