]> granicus.if.org Git - python/commitdiff
Merged revisions 77130 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Wed, 30 Dec 2009 03:03:54 +0000 (03:03 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 30 Dec 2009 03:03:54 +0000 (03:03 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77130 | benjamin.peterson | 2009-12-29 21:02:34 -0600 (Tue, 29 Dec 2009) | 1 line

  wrap long line
........

setup.py

index 04305de3355d76d42b59976368ce15fe740835ea..f424dac655d29802011f62d86b1f806274137b20 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -972,7 +972,8 @@ class PyBuildExt(build_ext):
             exts.append( Extension('resource', ['resource.c']) )
 
             # Sun yellow pages. Some systems have the functions in libc.
-            if platform not in ['cygwin', 'qnx6'] and find_file('rpcsvc/yp_prot.h', inc_dirs, []) is not None:
+            if (platform not in ['cygwin', 'qnx6'] and
+                find_file('rpcsvc/yp_prot.h', inc_dirs, []) is not None):
                 if (self.compiler_obj.find_library_file(lib_dirs, 'nsl')):
                     libs = ['nsl']
                 else: