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
Léo-Paul Géneau
slapos.core
Commits
db5df828
Commit
db5df828
authored
May 11, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert to string to a void ":int" by make_query.
parent
05aef80a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_grantToken.xml
...Item/portal_skins/vifib_hosting/WebSection_grantToken.xml
+3
-3
master/bt5/vifib_web/bt/revision
master/bt5/vifib_web/bt/revision
+1
-1
No files found.
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_grantToken.xml
View file @
db5df828
...
...
@@ -74,7 +74,7 @@ except ValueError:\n
query_dict = dict(\n
access_token=token.getReference(),\n
token_type=\'bearer\',\n
expires_in=
int((token.getExpirationDate() - DateTime()) * 24 * 3600
),\n
expires_in=
str(int((token.getExpirationDate() - DateTime()) * 24 * 3600)
),\n
)\n
if state:\n
query_dict[\'state\'] = state\n
...
...
@@ -82,9 +82,9 @@ if state:\n
query = make_query(query_dict)\n
\n
if \'#\' in redirect_uri:\n
redirect_uri += \'&\' +
make_query(query_dict)
\n
redirect_uri += \'&\' +
query
\n
else:\n
redirect_uri += \'#\' +
make_query(query_dict)
\n
redirect_uri += \'#\' +
query
\n
return context.REQUEST.RESPONSE.redirect( redirect_uri )\n
...
...
master/bt5/vifib_web/bt/revision
View file @
db5df828
367
\ No newline at end of file
368
\ 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