Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Rainbond Console
Commits
7437834b
Commit
7437834b
authored
5 years ago
by
zhaoxusheng
Browse files
Options
Download
Email Patches
Plain Diff
# bugfix 获取hithub信息失败
parent
7b35b58d
master
V5.1
V5.2
V5.3
dependabot/pip/django-2.2.24
dependabot/pip/djangorestframework-3.11.2
dependabot/pip/httplib2-0.19.0
dependabot/pip/pillow-8.1.1
dependabot/pip/pillow-8.2.0
dependabot/pip/rsa-4.1
feature-helmapp
revert-408-app_share_5.1
revert-411-app_share_5.1
sqlite3
upgrade
zxs-work-2019101801
zxs-work-2019101802
v5.3.2-release
v5.3.1-release
v5.3.0-release
v5.2.2-release
v5.2.1-release
v5.2.0-release
v5.2.0-beta2
v5.2.0-beta1
v5.1.11-release
v5.1.10-release
v5.1.9-release
v5.1.8-release
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
www/github_http.py
+4
-1
www/github_http.py
with
4 additions
and
1 deletion
+4
-1
www/github_http.py
+
4
-
1
View file @
7437834b
...
...
@@ -19,7 +19,10 @@ class GitHubApi(BaseHttpClient):
self
.
base_url
=
'https://api.github.com'
def
_reload
(
self
):
github_service_info
=
custom_config
.
GITHUB
if
isinstance
(
custom_config
.
GITHUB
,
(
unicode
,
str
)):
github_service_info
=
eval
(
custom_config
.
GITHUB
)
else
:
github_service_info
=
custom_config
.
GITHUB
for
k
,
v
in
github_service_info
.
items
():
setattr
(
self
,
k
,
v
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help