mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 15:26:19 +00:00
return empty sting if repo owner not found
This commit is contained in:
@@ -41,7 +41,7 @@ def get_repo_info(repo):
|
|||||||
except Exception:
|
except Exception:
|
||||||
org_repo_owner = None
|
org_repo_owner = None
|
||||||
|
|
||||||
owner = repo_owner or org_repo_owner
|
owner = repo_owner or org_repo_owner or ''
|
||||||
|
|
||||||
result = {}
|
result = {}
|
||||||
result['id'] = repo.repo_id
|
result['id'] = repo.repo_id
|
||||||
|
Reference in New Issue
Block a user