Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
9e357e69
Commit
9e357e69
authored
Jul 10, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo.
parent
c8bc67d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
master/bt5/vifib_web/ExtensionTemplateItem/ViFiBWeb.py
master/bt5/vifib_web/ExtensionTemplateItem/ViFiBWeb.py
+1
-3
master/bt5/vifib_web/bt/revision
master/bt5/vifib_web/bt/revision
+1
-1
No files found.
master/bt5/vifib_web/ExtensionTemplateItem/ViFiBWeb.py
View file @
9e357e69
...
@@ -133,11 +133,9 @@ def Facebook_getUserId(access_token):
...
@@ -133,11 +133,9 @@ def Facebook_getUserId(access_token):
return
facebook_entry
[
'id'
].
encode
(
'utf-8'
)
return
facebook_entry
[
'id'
].
encode
(
'utf-8'
)
def
Google_getUserId
(
access_token
):
def
Google_getUserId
(
access_token
):
# import ipdb ; ipdb.set_trace()
timeout
=
socket
.
getdefaulttimeout
()
timeout
=
socket
.
getdefaulttimeout
()
try
:
try
:
# require really fast interaction
socket
.
setdefaulttimeout
(
10
)
# socket.setdefaulttimeout(10)
http
=
oauth2client
.
client
.
AccessTokenCredentials
(
access_token
,
'Vifib'
http
=
oauth2client
.
client
.
AccessTokenCredentials
(
access_token
,
'Vifib'
).
authorize
(
httplib2
.
Http
())
).
authorize
(
httplib2
.
Http
())
service
=
apiclient
.
discovery
.
build
(
"oauth2"
,
"v1"
,
http
=
http
)
service
=
apiclient
.
discovery
.
build
(
"oauth2"
,
"v1"
,
http
=
http
)
...
...
master/bt5/vifib_web/bt/revision
View file @
9e357e69
390
391
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment