From 7f76372156020c305de539ef6b1ab13f8cb19de0 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Fri, 23 Sep 2011 17:18:53 -0700 Subject: [PATCH] ovs-xapi-sync: Remove dead code. Found by pychecker. --- xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync index 91ada47ab..b2d935833 100755 --- a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync +++ b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync @@ -191,11 +191,6 @@ def keep_table_columns(schema, table_name, columns): return table def prune_schema(schema): - string_type = types.Type(types.BaseType(types.StringType)) - string_map_type = types.Type(types.BaseType(types.StringType), - types.BaseType(types.StringType), - 0, sys.maxint) - new_tables = {} new_tables["Bridge"] = keep_table_columns( schema, "Bridge", ("name", "external_ids", "other_config", -- 2.43.0