Don't shadow str

In the  agent/linux/ovs_lib.py we were shadowing the str keyword with
local variable. Let's not do that.

Change-Id: If800804b1e1f12d782bac524c92f300bd77fdd3c
This commit is contained in:
Chang Bo Guo 2013-11-09 23:48:10 -08:00
parent ad97c96e73
commit a436da59a0

View File

@ -275,8 +275,8 @@ class OVSBridge(BaseOVS):
def db_get_map(self, table, record, column):
output = self.run_vsctl(["get", table, record, column])
if output:
str = output.rstrip("\n\r")
return self.db_str_to_map(str)
output_str = output.rstrip("\n\r")
return self.db_str_to_map(output_str)
return {}
def db_get_val(self, table, record, column):