~parinporecha/gtg/global_shortcut

« back to all changes in this revision

Viewing changes to GTG/backends/tweepy/__init__.py

  • Committer: Izidor Matušov
  • Date: 2013-01-10 15:03:42 UTC
  • Revision ID: izidor.matusov@gmail.com-20130110150342-ajwnwmc2trh9ia2v
Removing broken twitter and tweepy services

I don't know anybody uses them. They are broken, and pretty artificial (more proof of the concept). We should focus our efforts on normal synchronization.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Tweepy
2
 
# Copyright 2009-2010 Joshua Roesslein
3
 
# See LICENSE for details.
4
 
 
5
 
"""
6
 
Tweepy Twitter API library
7
 
"""
8
 
__version__ = '1.7.1'
9
 
__author__ = 'Joshua Roesslein'
10
 
__license__ = 'MIT'
11
 
 
12
 
from tweepy.models import Status, User, DirectMessage, Friendship, SavedSearch, SearchResult, ModelFactory
13
 
from tweepy.error import TweepError
14
 
from tweepy.api import API
15
 
from tweepy.cache import Cache, MemoryCache, FileCache
16
 
from tweepy.auth import BasicAuthHandler, OAuthHandler
17
 
from tweepy.streaming import Stream, StreamListener
18
 
from tweepy.cursor import Cursor
19
 
 
20
 
# Global, unauthenticated instance of API
21
 
api = API()
22
 
 
23
 
def debug(enable=True, level=1):
24
 
 
25
 
    import httplib
26
 
    httplib.HTTPConnection.debuglevel = level
27