summaryrefslogtreecommitdiffstats
path: root/plugins/xserver.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-11-19 13:46:14 +0100
committerJoel Andres Granados <jgranado@redhat.com>2008-11-19 18:44:24 +0100
commitb8d360b0142961972e4d7bfa67841542554725a3 (patch)
tree2b25cce5a9be006c17229dcb884bf9fd726d0b1b /plugins/xserver.py
parent1b32e6c8032db019a191d3fa37430371de1b9c34 (diff)
downloadfirstaidkit-b8d360b0142961972e4d7bfa67841542554725a3.tar.gz
firstaidkit-b8d360b0142961972e4d7bfa67841542554725a3.tar.xz
firstaidkit-b8d360b0142961972e4d7bfa67841542554725a3.zip
Various small fixes.
Makefile: 1. Cut counts from 1 not 0. 2. Create the "about" info in the makefile instead of spec file. 3. Put subdirs and about targets into one build target. firstaidkit.spec: 1. Erase the about creation from here. 2. Erase the fedora 7 specific stuff. 3. Call make build. 4. xserver plugin does not need rhpl nor rhpxl anymore. 5. Actually include the COPYING file where the about says it is. configuration.py: 1. Change the default backup dir from /tmp/fakbackup to /tmp. /tmp/fakbackup caused some file permission strangeness when a non root user executed fak after root had executed it. This can still occur, but it will be left like this as the user should not execute fak in non root anyway. logging: plugins.py,interpreter.py. __init__.py 1. Always use the reporting object when possible. 2. Add time stamp and level of message to log messages.
Diffstat (limited to 'plugins/xserver.py')
-rw-r--r--plugins/xserver.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/plugins/xserver.py b/plugins/xserver.py
index 71c7d2c..86bb569 100644
--- a/plugins/xserver.py
+++ b/plugins/xserver.py
@@ -23,15 +23,7 @@ from pyfirstaidkit.issue import SimpleIssue
from pyfirstaidkit import Config
from pyfirstaidkit.errors import *
-import rhpxl.xserver
-import rhpl.keyboard
-import tempfile
-import subprocess
-import time
-import signal
-import os
-import os.path
-import shutil
+import tempfile, subprocess, time, signal, os, os.path, shutil
class Xserver(Plugin):
""" Plugin to detect an rescue faulty xserver configurations. """
@@ -48,6 +40,7 @@ class Xserver(Plugin):
name = "X server"
version = "0.0.1"
author = "Joel Andres Granados"
+ description = "Automates recovery of the xserver"
@classmethod
def getDeps(cls):