You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Devan Goodwin (JIRA)" <ji...@apache.org> on 2008/07/21 20:41:31 UTC

[jira] Created: (THRIFT-93) Python Modules Beginning With Unnecessary #!/usr/bin/env python

Python Modules Beginning With Unnecessary #!/usr/bin/env python
---------------------------------------------------------------

                 Key: THRIFT-93
                 URL: https://issues.apache.org/jira/browse/THRIFT-93
             Project: Thrift
          Issue Type: Improvement
          Components: Library (Python)
    Affects Versions: 0.1
         Environment: Fedora 9, x86_64
            Reporter: Devan Goodwin
             Fix For: 0.1


While packaging for Fedora, rpmlint complains that a variety of the Python modules begin with #!/usr/bin/env python, yet are not executable. (none of these seem to contain __main__ methods either)

I believe they're quite harmless but I patched to keep rpmlint happy and thought I'd send the patch back to you guys as well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-93) Python Modules Beginning With Unnecessary #!/usr/bin/env python

Posted by "Devan Goodwin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Devan Goodwin updated THRIFT-93:
--------------------------------

    Attachment: thrift-20080718-execfix.patch

Patch to remove "/usr/bin/env python" from Python modules that aren't actually executable scripts.

> Python Modules Beginning With Unnecessary #!/usr/bin/env python
> ---------------------------------------------------------------
>
>                 Key: THRIFT-93
>                 URL: https://issues.apache.org/jira/browse/THRIFT-93
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Library (Python)
>    Affects Versions: 0.1
>         Environment: Fedora 9, x86_64
>            Reporter: Devan Goodwin
>             Fix For: 0.1
>
>         Attachments: thrift-20080718-execfix.patch
>
>
> While packaging for Fedora, rpmlint complains that a variety of the Python modules begin with #!/usr/bin/env python, yet are not executable. (none of these seem to contain __main__ methods either)
> I believe they're quite harmless but I patched to keep rpmlint happy and thought I'd send the patch back to you guys as well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (THRIFT-93) Python Modules Beginning With Unnecessary #!/usr/bin/env python

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Reiss resolved THRIFT-93.
-------------------------------

    Resolution: Fixed

> Python Modules Beginning With Unnecessary #!/usr/bin/env python
> ---------------------------------------------------------------
>
>                 Key: THRIFT-93
>                 URL: https://issues.apache.org/jira/browse/THRIFT-93
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Library (Python)
>    Affects Versions: 0.1
>         Environment: Fedora 9, x86_64
>            Reporter: Devan Goodwin
>             Fix For: 0.1
>
>         Attachments: thrift-20080718-execfix.patch
>
>
> While packaging for Fedora, rpmlint complains that a variety of the Python modules begin with #!/usr/bin/env python, yet are not executable. (none of these seem to contain __main__ methods either)
> I believe they're quite harmless but I patched to keep rpmlint happy and thought I'd send the patch back to you guys as well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.