Merge "Don't shadow str"
This commit is contained in:
commit
8b1cb50bbf
@ -275,8 +275,8 @@ class OVSBridge(BaseOVS):
|
|||||||
def db_get_map(self, table, record, column):
|
def db_get_map(self, table, record, column):
|
||||||
output = self.run_vsctl(["get", table, record, column])
|
output = self.run_vsctl(["get", table, record, column])
|
||||||
if output:
|
if output:
|
||||||
str = output.rstrip("\n\r")
|
output_str = output.rstrip("\n\r")
|
||||||
return self.db_str_to_map(str)
|
return self.db_str_to_map(output_str)
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
def db_get_val(self, table, record, column):
|
def db_get_val(self, table, record, column):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user