actually read default conf file. add limit option to buildReferences call.
This commit is contained in:
parent
1bf5468b01
commit
db8486e61d
1 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ def get_options():
|
|||
print "no config file"
|
||||
config = None
|
||||
else:
|
||||
config.read(options.config_file)
|
||||
config.read(cf)
|
||||
#allow config file to update defaults for certain options
|
||||
cfgmap = [
|
||||
['keytab', None, 'string'],
|
||||
|
|
@ -451,7 +451,7 @@ def handle_trash():
|
|||
print "[%i/%i] Skipping package: %s" % (i, N, nvr)
|
||||
continue
|
||||
try:
|
||||
refs = session.buildReferences(binfo['id'])
|
||||
refs = session.buildReferences(binfo['id'], limit=10)
|
||||
except xmlrpclib.Fault:
|
||||
print "[%i/%i] Error checking references for %s. Skipping" % (i, N, nvr)
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue