Maybe lay off of denyhosts. . .

This commit is contained in:
Jon Ciesla 2012-09-28 09:40:19 -05:00
parent ec9e60917a
commit 41625c5e72

View file

@ -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,