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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ophélie Gagnard
slapos.core
Commits
b7aa466a
Commit
b7aa466a
authored
Jul 12, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop duplicated method.
parent
67c0f5b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
master/bt5/vifib_web/ExtensionTemplateItem/ViFiBWeb.py
master/bt5/vifib_web/ExtensionTemplateItem/ViFiBWeb.py
+0
-6
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 @
b7aa466a
...
...
@@ -93,12 +93,6 @@ def Google_setServerToken(self, key, body):
def
Google_getServerToken
(
self
,
key
):
return
getServerToken
(
self
,
key
,
'google_server_auth_token_cache_factory'
)
def
Facebook_getAccessTokenFromCode
(
self
,
code
,
redirect_uri
):
return
facebook
.
get_access_token_from_code
(
code
=
code
,
redirect_uri
=
redirect_uri
,
app_id
=
self
.
portal_preferences
.
getPreferredVifibFacebookApplicationId
(),
app_secret
=
self
.
portal_preferences
.
getPreferredVifibFacebookApplicationSecret
())
def
Google_getAccessTokenFromCode
(
self
,
code
,
redirect_uri
):
connection_kw
=
{
'host'
:
'accounts.google.com'
,
'timeout'
:
30
}
connection
=
httplib
.
HTTPSConnection
(
**
connection_kw
)
...
...
master/bt5/vifib_web/bt/revision
View file @
b7aa466a
392
\ No newline at end of file
393
\ 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