SOURCES: python-config - cosmetics

glen glen at pld-linux.org
Fri Sep 15 16:09:39 CEST 2006


Author: glen                         Date: Fri Sep 15 14:09:38 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- cosmetics

---- Files affected:
SOURCES:
   python-config (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/python-config
diff -u SOURCES/python-config:1.3 SOURCES/python-config:1.4
--- SOURCES/python-config:1.3	Fri Sep 15 16:08:21 2006
+++ SOURCES/python-config	Fri Sep 15 16:09:33 2006
@@ -1,5 +1,4 @@
-#!/bin/env python
-
+#!/usr/bin/python
 import sys
 import os
 import getopt
@@ -23,8 +22,8 @@
 
 opt = opts[0][0]
 
-pyver = sysconfig.get_config_var('VERSION')
 getvar = sysconfig.get_config_var
+pyver = getvar('VERSION')
 
 if opt == '--help':
     exit_with_usage(0)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/python-config?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list