Commit be760fc7 authored by Josh Roesslein's avatar Josh Roesslein
Browse files

Fix some python 2.5 errors.

parent e22e387b
......@@ -22,6 +22,7 @@ Getting started:
Author: Joshua Roesslein
License: MIT
Dependencies:
Python 2.5+
Simplejson <http://undefined.org/python/#simplejson>
**Included in python 2.6+
Python-OAuth <http://code.google.com/p/oauth>
......
......@@ -67,9 +67,9 @@ def bind_api(path, parser, allowed_param=None, method='GET', require_auth=False,
# Open connection
if api.secure:
conn = httplib.HTTPSConnection(_host, timeout=10)
conn = httplib.HTTPSConnection(_host)
else:
conn = httplib.HTTPConnection(_host, timeout=10)
conn = httplib.HTTPConnection(_host)
# Build request
conn.request(method, url, headers=headers)
......
......@@ -2,6 +2,8 @@
# Copyright 2009 Joshua Roesslein
# See LICENSE
from __future__ import with_statement
import time
import threading
import os
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment