aboutsummaryrefslogtreecommitdiff
path: root/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-09-23 17:18:53 -0700
committerEthan Jackson <ethan@nicira.com>2011-09-23 23:39:23 -0700
commit7f76372156020c305de539ef6b1ab13f8cb19de0 (patch)
treed75cd8efdcc4a471f56e2817c6164fc8c212c676 /xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
parent0d28538d500600e346ee02fbb86962da90ce06cd (diff)
ovs-xapi-sync: Remove dead code.
Found by pychecker.
Diffstat (limited to 'xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync')
-rwxr-xr-xxenserver/usr_share_openvswitch_scripts_ovs-xapi-sync5
1 files changed, 0 insertions, 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",