mirror of
https://github.com/openvswitch/ovs
synced 2025-10-27 15:18:06 +00:00
python: Avoid using 'type' as a variable name.
'type' is a Python built-in function, so it's best to avoid using it as a variable name. Reported-by: Reid Price <reid@nicira.com>
This commit is contained in:
@@ -239,11 +239,11 @@ class TableSchema(object):
|
||||
return json
|
||||
|
||||
class ColumnSchema(object):
|
||||
def __init__(self, name, mutable, persistent, type):
|
||||
def __init__(self, name, mutable, persistent, type_):
|
||||
self.name = name
|
||||
self.mutable = mutable
|
||||
self.persistent = persistent
|
||||
self.type = type
|
||||
self.type = type_
|
||||
self.unique = False
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user