def scrape_rds(): """Scrape RDS data from AWS and save to local file""" rds_file = 'www/rds/instances.json' try: rds_scrape(rds_file) except Exception as e: print "ERROR: Unable to scrape RDS data: %s" % e print traceback.print_exc()
def scrape_rds(c): """Scrape RDS data from AWS and save to local file""" rds_file = "www/rds/instances.json" try: rds_scrape(rds_file) except Exception as e: print("ERROR: Unable to scrape RDS data") print(traceback.print_exc())