#!/usr/bin/python -O
-
-import sys, os, time, signal
-from optparse import OptionParser, OptionValueError
+# vim: noet :
+import os
import re
+import signal
+import sys
+import time
+from optparse import OptionParser, OptionValueError
try:
import portage
import portage
import portage.const, portage.exception, portage.output
+
class WorldHandler(object):
def name():
usage+= "tools and provide a single interface to system health checks."
- parser = OptionParser(usage=usage)
+ parser = OptionParser(usage=usage, version=portage.VERSION)
parser.add_option("-c", "--check", help="check for problems",
action="callback", callback=exclusive, callback_kwargs={"var":"action"})
parser.add_option("-f", "--fix", help="attempt to fix problems",