boto/boto — pull request #529 by jimbrowne (2012-01-29 08:24:19+00:00)
Title: Support Weighted Resource Records

Started with changes for WRR support from @aficionado. Fixed an issue in to_print() and changed the approach for supporting WRR in bin/route53. WRR's break the previous model of using the first RR from a get_all_rrsets call. Collapsed common code between the add and delete cases. Added usage examples in the comments.

IMO route53 should be re-written to use options instead of positional parameters to make the subtleties of using route53 more apparent and to simplify the addition of code to check common error cases. However, I didn't want to break the CLI API for those already using it. WRR support is added as optional trailing positional parameters so all existing invocations of route53 should be unaffected.