#! /usr/bin/python -tt
#
# File: qa-assistant
# Author: Toshio Kuratomi <toshio@tiki-lounge.com>
# Date: 29 Feb, 2004
# Copyright: Toshio Kuratomi
# License: GPL
# Description: Graphical program to help write and submit a QA review for a
# Fedora package.
# Id: $Id: qa-assistant.pyin.in 198 2005-08-21 07:33:33Z abadger1999 $
'''Helps a reviewer generate a QA Report.
Usage: qa-assistant [OPTIONS] <SRC.RPM>
    -h
    --help              This usage message
    --version           Outputs version and exits

Helps a QA person review an SRPM.  The program contains a simple checklist
and editor to allow the reviewer to fill out boilerplate for what might
be wrong with a package while allowing the user to also add entries for things
the editor does not know about.
'''

__revision__ = '$Rev: 198 $'

import sys

sys.path.append('/usr/share/qa-assistant')

import qareviewer

if __name__ == '__main__':
    # libxml2 Memory Debugging
    # libxml2.debugMemory(1)
    app = qareviewer.QAReviewer(sys.argv)
    app.mainloop()
    # libxml2 Memory Debugging
    #libxml2.cleanupParser()
    #if libxml2.debugMemory(1) == 0:
    #    print "OK"
    #else:
    #    print "Memory leak %d bytes" % (libxml2.debugMemory(1))
    #    libxml2.dumpMemory()

    sys.exit(0)
