Final formatting

pull/321/head
Tom Taylor 3 years ago committed by GitHub
parent 6eabb388a7
commit 1295cdd220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3249,6 +3249,7 @@ def insert_new_git(server_id, service_id, repo, branch, period, cred, descriptio
else: else:
return True return True
def select_gits(**kwargs): def select_gits(**kwargs):
if kwargs.get("server_id") is not None and kwargs.get("service_id") is not None: if kwargs.get("server_id") is not None and kwargs.get("service_id") is not None:
query = GitSetting.select().where((GitSetting.server_id == kwargs.get("server_id")) & (GitSetting.service_id == kwargs.get("service_id"))) query = GitSetting.select().where((GitSetting.server_id == kwargs.get("server_id")) & (GitSetting.service_id == kwargs.get("service_id")))

Loading…
Cancel
Save