bugranger - Bugs: bug #30533, Mark __main__.py as executable

 
 

bug #30533: Mark __main__.py as executable

Submitter:  Ben Boeckel <mathstuf>
Submitted:  Sat 24 Jul 2010 01:44:40 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Jul 2010 01:22:27 PM UTC, comment #2: 

You are right. I'll remove that line as well

Roman Z. <hut>
Group administrator
Sat 24 Jul 2010 06:26:29 PM UTC, comment #1: 

_main_.py probably shouldn't be executed directly, so I'm removing it.

(file #21057)

Ben Boeckel <mathstuf>
Sat 24 Jul 2010 01:44:40 AM UTC, original submission:  

I'm in the process of packaging ranger for Fedora and rpmlint gives an error:

    ranger.noarch: E: non-executable-script /usr/lib/python2.6/site-packages/ranger/__main__.py 0644L /usr/bin/env

Could it either be marked as executable or the shebang line removed? I'm not sure which would be preferred here since it is documented that python /path/to/ranger is possible. Thanks.

Ben Boeckel <mathstuf>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #21057:  0001-Remove-the-shebang-line-from-the-__main__.py-file.patch added by mathstuf (571B - application/octet-stream - Remove the shebang line)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hut (Posted a comment)
  • -email is unavailable- added by mathstuf (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-10-15 hut StatusNone Fixed
    2010-07-26 hut Open/ClosedOpen Closed
    2010-07-24 mathstuf Attached File- Added 0001-Remove-the-shebang-line-from-the-__main__.py-file.patch, #21057

    Back to the top

    Powered by Savane 3.13-aa77.
    Corresponding source code