summaryrefslogtreecommitdiffstats
path: root/vnc.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-09-19 18:35:16 +0000
committerChris Lumens <clumens@redhat.com>2007-09-19 18:35:16 +0000
commitdc6dd742d400979f94ae1b0191afea33574475d4 (patch)
treeb0850667505bee44f42e796c4c80763ea3f96b69 /vnc.py
parent8cd6d5f3f6b236e5149dcea2aeb244b6d888ce86 (diff)
downloadanaconda-dc6dd742d400979f94ae1b0191afea33574475d4.tar.gz
anaconda-dc6dd742d400979f94ae1b0191afea33574475d4.tar.xz
anaconda-dc6dd742d400979f94ae1b0191afea33574475d4.zip
Lots of minor pychecker error fixes. Some of these are even real problems.
Diffstat (limited to 'vnc.py')
-rw-r--r--vnc.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/vnc.py b/vnc.py
index 9eeee5ff6..52353833f 100644
--- a/vnc.py
+++ b/vnc.py
@@ -22,7 +22,6 @@ import network
import isys
import product
import iutil
-import network
import socket
import logging
@@ -33,7 +32,7 @@ def askVncWindow():
if not os.access('/usr/bin/Xvnc', os.X_OK):
return -1
- if network.hasActiveNetDev() == False:
+ if not network.hasActiveNetDev():
return -1
screen = SnackScreen()