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 e
|
||||
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..."
|
||||
try:
|
||||
|
@ -774,6 +766,15 @@ if __name__ == '__main__':
|
|||
print "No requests to process!"
|
||||
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..."
|
||||
config = parse_pkgdb_config()
|
||||
pkgdb = PackageDB(config['pkgdb.url'], username=options.user,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue