Maybe lay off of denyhosts. . .
This commit is contained in:
parent
ec9e60917a
commit
41625c5e72
1 changed files with 9 additions and 8 deletions
|
@ -752,14 +752,6 @@ if __name__ == '__main__':
|
||||||
print "Bugzilla call failed:"
|
print "Bugzilla call failed:"
|
||||||
print e
|
print e
|
||||||
exit(1)
|
exit(1)
|
||||||
print "Making sure " + options.pkghost + " is available..."
|
|
||||||
try:
|
|
||||||
sshsock = socket.create_connection((options.pkghost, 22))
|
|
||||||
sshsock.close()
|
|
||||||
except Exception, e:
|
|
||||||
print options.pkghost + " unavailable."
|
|
||||||
print e
|
|
||||||
exit(1)
|
|
||||||
|
|
||||||
print "Querying bugzilla..."
|
print "Querying bugzilla..."
|
||||||
try:
|
try:
|
||||||
|
@ -774,6 +766,15 @@ if __name__ == '__main__':
|
||||||
print "No requests to process!"
|
print "No requests to process!"
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
|
print "Making sure " + options.pkghost + " is available..."
|
||||||
|
try:
|
||||||
|
sshsock = socket.create_connection((options.pkghost, 22))
|
||||||
|
sshsock.close()
|
||||||
|
except Exception, e:
|
||||||
|
print options.pkghost + " unavailable."
|
||||||
|
print e
|
||||||
|
exit(1)
|
||||||
|
|
||||||
print "Connecting to pkgdb..."
|
print "Connecting to pkgdb..."
|
||||||
config = parse_pkgdb_config()
|
config = parse_pkgdb_config()
|
||||||
pkgdb = PackageDB(config['pkgdb.url'], username=options.user,
|
pkgdb = PackageDB(config['pkgdb.url'], username=options.user,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue