diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-06-03 15:49:44 +0200 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-06-03 15:49:44 +0200 |
commit | 07aec7d14ac4d0784f12f47e63f4da1f66c493d1 (patch) | |
tree | 79d956883ca4fa2e66bc0546ceb600cadde1c7ee /plugins/xserver.py | |
parent | bea4933643c30d65ace7d1bf79e3f023fc7b38f7 (diff) | |
download | firstaidkit-07aec7d14ac4d0784f12f47e63f4da1f66c493d1.tar.gz firstaidkit-07aec7d14ac4d0784f12f47e63f4da1f66c493d1.tar.xz firstaidkit-07aec7d14ac4d0784f12f47e63f4da1f66c493d1.zip |
fix typos
Diffstat (limited to 'plugins/xserver.py')
-rw-r--r-- | plugins/xserver.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/xserver.py b/plugins/xserver.py index f12ae7e..5581ccd 100644 --- a/plugins/xserver.py +++ b/plugins/xserver.py @@ -66,7 +66,7 @@ class Xserver(Plugin): def diagnose(self): # Lets see if there is a server active. - if os.path.exists("/tmp/.X0-lock") + if os.path.exists("/tmp/.X0-lock"): self._reporting.info("An X server is already running.", level = PLUGIN, origin = self) self._resulting.info("You can run the \"force\" flow to avoud this check. In some cases it works.", level = PLUGIN, origin = self) @@ -76,7 +76,7 @@ class Xserver(Plugin): self._reporting.info("Everything seems ok with the X server.", level = PLUGIN, origin = self) self._result = ReturnSuccess - elif !os.path.exists(self.confPath) + elif not os.path.exists(self.confPath): # If the configuration is not there dont even bother to try fixing it. # This will go through the proces of trying to fix it. at least we told the user. self._reporting.info("The error is in the xservers autodetection mechanism, this does not have an automated solution yet.", @@ -94,7 +94,7 @@ class Xserver(Plugin): self._reporting.info("Everything seems ok with the X server.", level = PLUGIN, origin = self) self._result = ReturnSuccess - elif !os.path.exists(self.confPath) + elif not os.path.exists(self.confPath): # If the configuration is not there dont even bother to try fixing it. # This will go through the proces of trying to fix it. at least we told the user. self._reporting.info("The error is in the xservers autodetection mechanism, this does not have an automated solution yet.", @@ -125,7 +125,7 @@ class Xserver(Plugin): def fix(self): self._reporting.info("Starting the fix task.", level = PLUGIN, origin = self) # With the current xorg server the only thing that we need to do is to erase the conf file. - if os.path.exists(self.confPath) + if os.path.exists(self.confPath): os.remove(self.confPath) self._reporting.info("Testing modified environment", level = PLUGIN, origin = self) |