Commit e3682871 authored by 's avatar

Fixed bug in Object class that caused a NameError for BoboFunction (which

no longer exists)
parent ed1fce8f
......@@ -71,7 +71,7 @@ that allows one to simply make a single web request.
The module also provides a command-line interface for calling objects.
"""
__version__='$Revision: 1.20 $'[11:-2]
__version__='$Revision: 1.21 $'[11:-2]
import sys, regex, socket, mimetools
from httplib import HTTP
......@@ -293,11 +293,11 @@ class Object:
method=self.method
url="%s/%s" % (self.url, name)
f=BoboFunction(url,
method=method,
username=self.username,
password=self.password,
timeout=self.timeout)
f=Function(url,
method=method,
username=self.username,
password=self.password,
timeout=self.timeout)
f.headers=self.headers
......
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