heroku/heroku.py — pull request #42 by mmontg1 (2013-09-27 17:10:58+00:00)
Title: Adding iterability to Config Variables Dictionary

Is there any reason not to be able to iterate over the config dictionary and/or retrieve specific items?

>>> app = cloud.apps['sample-app']
>>> conf = app.config
>>> for k, v in conf:
>>> print k
>>>
>>> conf['DATABASE_URL']
u'postgres://user:pass@somedb.com/database'

This would add that functionality. Hope it helps...