)]}'
{"plugins/xenserver/networking/etc/xensource/scripts/ovs_configure_vif_flows.py":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"fcd0d99a1047ba3a02b3e69cde3fa7c6ee0243ae","unresolved":false,"context_lines":[{"line_number":18,"context_line":"This script is used to configure openvswitch flows on XenServer hosts."},{"line_number":19,"context_line":"\"\"\""},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from __future__ import print_function"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"import os"},{"line_number":24,"context_line":"import sys"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a5de9d1_6a64c848","line":21,"updated":"2016-02-02 22:35:04.000000000","message":"Not available in Python 2.4…","commit_id":"927f0503598df3b4591432a96f9ef80b726b4267"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"fcd0d99a1047ba3a02b3e69cde3fa7c6ee0243ae","unresolved":false,"context_lines":[{"line_number":230,"context_line":"if __name__ \u003d\u003d \"__main__\":"},{"line_number":231,"context_line":"    if len(sys.argv) !\u003d 4:"},{"line_number":232,"context_line":"        print(\"usage: %s [online|offline] vif-domid-idx [ipv4|ipv6|all] \" %"},{"line_number":233,"context_line":"              os.path.basename(sys.argv[0]))"},{"line_number":234,"context_line":"        sys.exit(1)"},{"line_number":235,"context_line":"    else:"},{"line_number":236,"context_line":"        command, vif_raw, net_type \u003d sys.argv[1:4]"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a5de9d1_0ad0b4c8","line":233,"updated":"2016-02-02 22:35:04.000000000","message":"I don\u0027t think you need the __future__ for this usage, since it\u0027s not being sent to an alternate file.  You might be able to get away with just dropping the import and leaving this line like you have it here.","commit_id":"927f0503598df3b4591432a96f9ef80b726b4267"}],"plugins/xenserver/networking/etc/xensource/scripts/vif_rules.py":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"fcd0d99a1047ba3a02b3e69cde3fa7c6ee0243ae","unresolved":false,"context_lines":[{"line_number":126,"context_line":"if __name__ \u003d\u003d \"__main__\":"},{"line_number":127,"context_line":"    if len(sys.argv) \u003c 3:"},{"line_number":128,"context_line":"        print(\"usage: %s dom_id online|offline [vif]\" %"},{"line_number":129,"context_line":"              os.path.basename(sys.argv[0]))"},{"line_number":130,"context_line":"        sys.exit(1)"},{"line_number":131,"context_line":"    else:"},{"line_number":132,"context_line":"        dom_id, command \u003d sys.argv[1:3]"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a5de9d1_8ae4a4ac","line":129,"updated":"2016-02-02 22:35:04.000000000","message":"Same comment here—you can\u0027t use the __future__, but you don\u0027t need it for this anyway.","commit_id":"927f0503598df3b4591432a96f9ef80b726b4267"}]}
