[141844] contrib/pypi2port/pypi2port.py

mojca at macports.org mojca at macports.org
Sat Dec 12 03:14:54 PST 2015


Revision: 141844
          https://trac.macports.org/changeset/141844
Author:   mojca at macports.org
Date:     2015-10-29 11:05:03 -0700 (Thu, 29 Oct 2015)
Log Message:
-----------
pypi2port: /usr/bin/env has to be the very first line (#47140)

Modified Paths:
--------------
    contrib/pypi2port/pypi2port.py

Modified: contrib/pypi2port/pypi2port.py
===================================================================
--- contrib/pypi2port/pypi2port.py	2015-10-29 18:01:49 UTC (rev 141843)
+++ contrib/pypi2port/pypi2port.py	2015-10-29 18:05:03 UTC (rev 141844)
@@ -1,3 +1,6 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
 """
 Copyright (c) 2015, Gaurav Bansal
 All rights reserved.
@@ -17,9 +20,6 @@
 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 """
 
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
 import argparse
 import sys
 import os
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/11479c65/attachment.html>


More information about the macports-changes mailing list