~tribaal/txaws/xss-hardening

« back to all changes in this revision

Viewing changes to txaws/ec2/client.py

  • Committer: Duncan McGreggor
  • Date: 2009-09-15 21:12:04 UTC
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: duncan@canonical.com-20090915211204-dc2lkgzlddg4v8ps
Updated unit tests for latest changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
                            user_id, group_name)
202
202
                        allowed_groups.setdefault(user_id, user_group_pair)
203
203
 
204
 
            result.append(model.SecurityGroup(
205
 
                owner_id, name, description, allowed_groups.values(),
206
 
                allowed_ips))
 
204
            security_group = model.SecurityGroup(
 
205
                name, description, owner_id=owner_id,
 
206
                groups=allowed_groups.values(), ips=allowed_ips)
 
207
            result.append(security_group)
207
208
        return result
208
209
 
209
210
    def describe_volumes(self, *volume_ids):