diff options
| author | Lvov Maxim <usrleon@gmail.com> | 2011-06-11 00:42:44 +0400 |
|---|---|---|
| committer | Lvov Maxim <usrleon@gmail.com> | 2011-06-11 00:42:44 +0400 |
| commit | 8ded8e4bde3825efc8a886aad40d54d0c9d126dc (patch) | |
| tree | 8ffbe1ca02b13189ea4c5b45ae9ea6d2ebf51969 /nova | |
| parent | 8de8ed78c2d3d6ca8342134234e0cc361611de54 (diff) | |
small pep8 fixes
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/network/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/network/manager.py b/nova/network/manager.py index ad93114fe..a7f5aac60 100644 --- a/nova/network/manager.py +++ b/nova/network/manager.py @@ -571,7 +571,7 @@ class VlanManager(NetworkManager): net['dhcp_start'] = str(project_net[3]) net['vlan'] = vlan net['bridge'] = 'br%s' % vlan - if kwargs.has_key('project_id'): + if 'project_id' in kwargs: net['project_id'] = kwargs['project_id'] if(FLAGS.use_ipv6): cidr_v6 = '%s/%s' % (fixed_net_v6[start_v6], |
