Skip to content

Commit

Permalink
DEL print
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Stanley committed Nov 3, 2021
1 parent 96cfced commit 5dcd4ab
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,10 @@ def hello_word():
- info_token.refresh_token
'''
user = gitlab.get_user_info(info_token['access_token'])
print(user)
all_projects = gitlab.get_all_project_by_user(info_token['access_token'])
print(len(all_projects))
if len(all_projects) > 0:
print(all_projects[0])
for project in all_projects:
create_project(project)
all_merges = gitlab.get_all_merge_request_by_project_id(info_token['access_token'], all_projects)
print(len(all_merges))
if len(all_merges) > 0:
print(all_merges[0])
for merge in all_merges:
create_merge(merge)
ladder = gitlab.count_merges(all_merges)
Expand All @@ -41,7 +34,6 @@ def hello_word():
create_user(user, info_token)
add_new_login(user['email'])
return render_template('ladder.html', ladder=ladder)
# return jsonify(ladder)

@app.route('/')
def get_auth_link():
Expand Down

0 comments on commit 5dcd4ab

Please sign in to comment.