]> granicus.if.org Git - python/commitdiff
typo, use parens for continued expr
authorSkip Montanaro <skip@pobox.com>
Fri, 30 Dec 2005 05:01:26 +0000 (05:01 +0000)
committerSkip Montanaro <skip@pobox.com>
Fri, 30 Dec 2005 05:01:26 +0000 (05:01 +0000)
setup.py

index 31f0b2e3ee0f4a00a44779671c7a448a2f34dfdd..795686665bb0296b43b19d4b1107067eb225adef 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1000,7 +1000,7 @@ class PyBuildExt(build_ext):
             join(os.getenv('HOME'), '/Library/Frameworks')
         ]
 
-        # Find the directory that contains the Tcl.framwork and Tk.framework
+        # Find the directory that contains the Tcl.framework and Tk.framework
         # bundles.
         # XXX distutils should support -F!
         for F in framework_dirs:
@@ -1051,8 +1051,8 @@ class PyBuildExt(build_ext):
         # AquaTk is a separate method. Only one Tkinter will be built on
         # Darwin - either AquaTk, if it is found, or X11 based Tk.
         platform = self.get_platform()
-        if platform == 'darwin' and \
-           self.detect_tkinter_darwin(inc_dirs, lib_dirs):
+        if (platform == 'darwin' and
+            self.detect_tkinter_darwin(inc_dirs, lib_dirs)):
             return
 
         # Assume we haven't found any of the libraries or include files