Removing useless pass things

This commit is contained in:
Ryan McGrath 2009-06-27 01:52:18 -04:00
parent 3f049a79bb
commit f52e1415b8

View file

@ -105,7 +105,6 @@ class setup:
print "getFriendsTimeline() failed with a " + str(e.code) + " error code."
else:
print "getFriendsTimeline() requires you to be authenticated."
pass
def getUserTimeline(self, id = None, **kwargs):
if id is not None and kwargs.has_key("user_id") is False and kwargs.has_key("screen_name") is False:
@ -136,7 +135,6 @@ class setup:
print "getUserMentions() failed with a " + str(e.code) + " error code."
else:
print "getUserMentions() requires you to be authenticated."
pass
def showStatus(self, id):
try:
@ -145,7 +143,6 @@ class setup:
if self.debug is True:
print e.headers
print "Failed with a " + str(e.code) + " error code. Does this user hide/protect their updates? If so, you'll need to authenticate and be their friend to get their timeline."
pass
def updateStatus(self, status, in_reply_to_status_id = None):
if len(list(status)) > 140:
@ -159,7 +156,6 @@ class setup:
print "updateStatus() failed with a " + str(e.code) + " error code."
else:
print "updateStatus() requires you to be authenticated."
pass
def destroyStatus(self, id):
if self.authenticated is True:
@ -171,7 +167,6 @@ class setup:
print "destroyStatus() failed with a " + str(e.code) + " error code."
else:
print "destroyStatus() requires you to be authenticated."
pass
def endSession(self):
if self.authenticated is True:
@ -184,7 +179,6 @@ class setup:
print "endSession failed with a " + str(e.code) + " error code."
else:
print "You can't end a session when you're not authenticated to begin with."
pass
def getDirectMessages(self, since_id = None, max_id = None, count = None, page = "1"):
if self.authenticated is True: