boto/boto — pull request #825 by rajivnavada (2012-06-17 22:11:34+00:00)
Title: BUGFIX: MalformedPolicy Error (CloudFront signed URLs)

Method affected => `Distribution._custom_policy`

Per the AWS documentation cited in code, when building custom policy statements, the 'DateLessThan' property is required. Existing code produces a 'MalformedPolicy' error when generating signed URLs with a custom policy where no 'expires' parameter has been specified.