Replaced references to Api with OAuthApi... also broke the code terribly, but that's the point of this branch
This commit is contained in:
@ -4,20 +4,20 @@ import re
|
||||
import gtk, gobject
|
||||
from threading import Thread,RLock
|
||||
import twitter_pb2
|
||||
from twitter import Api
|
||||
from oauthtwitter import OAuthApi
|
||||
from urllib2 import HTTPError,URLError
|
||||
import avcache
|
||||
|
||||
|
||||
class CustomApi(Api):
|
||||
class CustomApi(OAuthApi):
|
||||
'''
|
||||
This is a Twitter API with an RLock for multi-threaded access
|
||||
Also included is logic for processing the list names when the object is
|
||||
instantiated
|
||||
'''
|
||||
|
||||
def __init__(self, username, password):
|
||||
Api.__init__(self, username, password)
|
||||
def __init__(self):
|
||||
OAuthApi.__init__(self, username, password)
|
||||
self.lock = RLock()
|
||||
self.sig_proxy = SigProxy()
|
||||
|
||||
|
Reference in New Issue
Block a user