]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't convert numeric protocol values to int
authorRalf Haferkamp <rhafer@suse.de>
Wed, 18 Jun 2014 15:01:26 +0000 (17:01 +0200)
committerRalf Haferkamp <rhafer@suse.de>
Mon, 23 Jun 2014 09:18:14 +0000 (11:18 +0200)
commit3be62f878e8165cf3bce357a00b8a583773f7d3b
tree44f434351a940692eb1ffb1a9e591002713841b0
parentc67f1a763f0cf8d4d3b5e79b6f1a5c6a19ca5248
Don't convert numeric protocol values to int

They are treated as strings everywhere. Converting them to int causes problems
when using postgresql as the database backend because it doesn't automatically
cast them back to integer.

Change-Id: I9f0a5149d24a4c003409728e50376569c97e7325
Closes-bug: 1330490
neutron/extensions/securitygroup.py
neutron/tests/unit/test_extension_security_group.py