def drop(self):
        conn = pgconnect(ADMIN_DB, self.user, self.host, self.port)
        curs = pgexecute_auto(conn, "DROP DATABASE %s" % self.name)
        curs.close()
        conn.close()
Change the host and port the request thinks it's using.
dataset/ETHPy150Open perseas/Pyrseas/pyrseas/lib/dbutils.py/PostgresDb.drop--crossover with--dataset/ETHPy150Open scrapy/scrapy/scrapy/xlib/tx/iweb.py/IRequest.setHost