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

 
 

bug #30533: Mark __main__.py as executable

Submitted by:  Ben Boeckel <mathstuf>
Submitted on:  Sat 24 Jul 2010 01:44:40 AM UTC  
 
Severity: 3 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

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

Roman Z. <hut>
Project 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 File(s):
   
   
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
  • -unavailable- added by hut (Posted a comment)
  • -unavailable- added by mathstuf (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 15 Oct 2010 03:26:33 PM UTChutStatusNone=>Fixed
    Mon 26 Jul 2010 01:22:27 PM UTChutOpen/ClosedOpen=>Closed
    Sat 24 Jul 2010 06:26:29 PM UTCmathstufAttached File-=>Added 0001-Remove-the-shebang-line-from-the-__main__.py-file.patch, #21057

    Back to the top


    Powered by Savane 3.1-cleanup1