# Script to automate some parts of checking NEW packages
# Copyright (C) 2000, 2001, 2002, 2003, 2006 James Troup <james@nocrew.org>
# Script to automate some parts of checking NEW packages
# Copyright (C) 2000, 2001, 2002, 2003, 2006 James Troup <james@nocrew.org>
-import errno, os, pg, re, sys, md5, time
+import errno, os, pg, re, sys, md5
def do_command (command, filename):
o = os.popen("%s %s" % (command, filename))
print_formatted_text(o.read())
def do_lintian (filename):
def do_command (command, filename):
o = os.popen("%s %s" % (command, filename))
print_formatted_text(o.read())
def do_lintian (filename):
# Cnf = daklib.utils.get_conf()
Arguments = [('h',"help","Examine-Package::Options::Help"),
# Cnf = daklib.utils.get_conf()
Arguments = [('h',"help","Examine-Package::Options::Help"),
- ('H',"Html-output","Examine-Package::Options::Html-Output"),
+ ('H',"html-output","Examine-Package::Options::Html-Output"),
]
for i in [ "Help", "Html-Output", "partial-html" ]:
if not Cnf.has_key("Examine-Package::Options::%s" % (i)):
]
for i in [ "Help", "Html-Output", "partial-html" ]:
if not Cnf.has_key("Examine-Package::Options::%s" % (i)):