An interpreted, interactive, object-oriented programming language
CentOS Sources
2017-08-01 71084d584ff953f5463757ec6536406320560b4d
commit | author | age
6e8c2f 1 diff -up Python-2.7rc1/Lib/ctypes/util.py.binutils-no-dep Python-2.7rc1/Lib/ctypes/util.py
CB 2 --- Python-2.7rc1/Lib/ctypes/util.py.binutils-no-dep    2010-03-15 09:42:23.000000000 -0400
3 +++ Python-2.7rc1/Lib/ctypes/util.py    2010-06-06 05:03:02.155975210 -0400
4 @@ -140,7 +140,9 @@ elif os.name == "posix":
5              dump = f.read()
6              rv = f.close()
7              if rv == 10:
8 -                raise OSError, 'objdump command not found'
9 +                return os.path.basename(f) #  This is good for GLibc, I think,
10 +                                           # and a dep on binutils is big (for
11 +                                           # live CDs).
12              f = os.popen(cmd)
13              try:
14                  data = f.read()