a bit of clean-up after the develop merge
This commit is contained in:
Родитель
d9ee00c3ce
Коммит
012cd9ff29
1
build.py
1
build.py
|
@ -41,7 +41,6 @@ import subprocess
|
|||
CURDIR = os.path.dirname(__file__)
|
||||
REPOS = {'github': ('git', 'https://github.com/mozilla/%s.git'),
|
||||
'mozilla': ('hg', 'https://hg.mozilla.org/services/%s')}
|
||||
|
||||
PYTHON = sys.executable
|
||||
|
||||
|
||||
|
|
|
@ -89,8 +89,8 @@ Name of the group to return.
|
|||
startIndex = int(request.POST.get('startindex', '0'))
|
||||
maxResults = int(request.POST.get('maxresults', '25'))
|
||||
account_data = request.POST.get('account', None)
|
||||
acct = None
|
||||
|
||||
acct = None
|
||||
if account_data:
|
||||
acct = json.loads(account_data)
|
||||
if not acct:
|
||||
|
|
|
@ -30,7 +30,6 @@ import hashlib
|
|||
|
||||
from pylons import request
|
||||
|
||||
#from linkoauth import get_provider
|
||||
from linkoauth.errors import (OAuthKeysException, ServiceUnavailableException,
|
||||
DomainNotRegisteredError)
|
||||
from linkdrop.controllers import services
|
||||
|
@ -156,7 +155,6 @@ Site provided description of the shared item, not supported by all services.
|
|||
long_url=longurl,
|
||||
short_url=shorturl,
|
||||
acct_id=acct_hash)
|
||||
|
||||
# send the item
|
||||
try:
|
||||
result, error = services.sendmessage(domain, acct, message, args)
|
||||
|
|
|
@ -289,7 +289,6 @@ def teardownReplayers():
|
|||
import linkoauth.protocap
|
||||
from linkoauth.backends import facebook_
|
||||
facebook_.HttpRequestor = linkoauth.protocap.HttpRequestor
|
||||
|
||||
from linkoauth.backends import yahoo_
|
||||
yahoo_.HttpRequestor = linkoauth.protocap.HttpRequestor
|
||||
from linkoauth import protocap
|
||||
|
|
Загрузка…
Ссылка в новой задаче