[meld] Fix untested typo from commit d85080



commit a8f0db452693806b4bc40ddf2782f6cbb5fca2e3
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Mar 31 14:08:39 2013 +1000

    Fix untested typo from commit d85080

 meld/misc.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/meld/misc.py b/meld/misc.py
index e78db07..f1ff2ea 100644
--- a/meld/misc.py
+++ b/meld/misc.py
@@ -27,7 +27,6 @@ import errno
 import shutil
 import re
 import subprocess
-import sys
 
 import gio
 import gobject
@@ -37,7 +36,7 @@ import gtk
 whitespace_re = re.compile(r"\s")
 NULL = open(os.devnull, "w+b")
 
-if sys.platform == "win32":
+if os.name != "nt":
     from select import select
 else:
     import time


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]