File: qa-assistant.pyin

package info (click to toggle)
qa-assistant 0.4.90.5-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,068 kB
  • ctags: 368
  • sloc: python: 4,067; sh: 552; xml: 523; makefile: 167
file content (44 lines) | stat: -rw-r--r-- 1,257 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#! /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('@#pkgdatadir#@')

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)