<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -185,8 +185,10 @@ class ExceptionsPayload(Payload):
   
 def send(urlparts, selector, fields, files):
     content_type, body = encode(fields, files)
-    connector = connections[urlparts.scheme]
-    connection = connector(urlparts.netloc)
+    URL_SCHEME_IDX = 0
+    URL_NETLOC_IDX = 1
+    connector = connections[urlparts[URL_SCHEME_IDX]]
+    connection = connector(urlparts[URL_NETLOC_IDX])
     headers = {'User-Agent': 'Python','Content-Type': content_type}
     try:
         connection.request('POST', selector, body, headers)</diff>
      <filename>src/fiveruns/dash/protocol.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4c6eaf5ced28c90394466b5a3f6051ac4e24a4a7</id>
    </parent>
  </parents>
  <author>
    <name>Aaron Farnham</name>
    <email>afarnham@gmail.com</email>
  </author>
  <url>http://github.com/fiveruns/dash-python/commit/b8fa71a7998a441c093529fe9cf0bb1c24e75f97</url>
  <id>b8fa71a7998a441c093529fe9cf0bb1c24e75f97</id>
  <committed-date>2009-05-21T19:05:21-07:00</committed-date>
  <authored-date>2009-05-21T17:38:26-07:00</authored-date>
  <message>Reverted urlparse.urlparse to use indexes rather than attributes for py 2.3</message>
  <tree>5de2bd87f0d4a5c13e0bc241b682478a555326c4</tree>
  <committer>
    <name>Bruce Williams</name>
    <email>bruce@codefluency.com</email>
  </committer>
</commit>
