Small style change in setup.py
authorIustin Pop <iustin@k1024.org>
Thu, 30 Apr 2015 20:13:54 +0000 (22:13 +0200)
committerIustin Pop <iustin@k1024.org>
Thu, 30 Apr 2015 20:13:54 +0000 (22:13 +0200)
setup.py

index 0cfdfa168acd2a7305130fb7c189e325c7dafad8..53056d673cdbf5466b000c571f989fa0da91e603 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ elif u_sysname == "GNU/kFreeBSD":
     libs.append("acl")
 elif u_sysname == "FreeBSD":
     macros.append(("HAVE_FREEBSD", None))
-    if 7 <= int(u_release.split('.', 1)[0]):
+    if int(u_release.split(".", 1)[0]) >= 7:
         macros.append(("HAVE_LEVEL2", None))
 elif u_sysname == "Darwin":
     libs.append("pthread")