boto/boto — pull request #1084 by crustymonkey (2012-10-26 22:09:42+00:00)
Title: Fixed a couple of annoyances

I made 2 changes here.

First, I added cleaning of the zone_id when it is passed into a function which requires it. The default form of the "Id" in the zone is "/hostedzone/". This means that you *must* remove the "/hostedzone/" part in your application to have a usable "Id" value. I just added that removal automatically. Perhaps the better approach here is to remove the "/hostedzone/" portion of the "Id" *before* returning it.

Second, I have no idea why you couldn't pass in the resource_records list to ResourceRecordSets.add_change(). Instead, you would have to take the returned Record instance and add them manually. I just added resource_records as an optional argument to add_change().