def copy_heroku_to_local(id):
heroku_app = HerokuApp(dallinger_uid=id)<EOL>try:<EOL><INDENT>subprocess.call(["<STR_LIT>", heroku_app.name])<EOL><DEDENT>except Exception:<EOL><INDENT>pass<EOL><DEDENT>heroku_app.pg_pull()<EOL>
Copy a Heroku database locally.