~harlowja/cloud-init/testcase-assert-fixes

Viewing all changes in revision 729.

  • Committer: Scott Moser
  • Date: 2012-11-13 19:13:12 UTC
  • mfrom: (725.2.1 cloud-init)
  • Revision ID: smoser@ubuntu.com-20121113191312-0nc04gks5hxmd64o
Even when using boto < 2.6 force the unlazying to occur

It seems like its possible that boto 2.5.2 and below have the lazy loading
metadata dictionary so as a precaution we will always take the hit of
unlazying the metadata dictionary by traversing it which in the non-lazy
dictionary case has no effect (its marginal). This also removes the need
to check the boto version and the dependency on setup tools just for this
case.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: