1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 10:58:33 +00:00

Fixed list_orphan_repos

This commit is contained in:
zhengxie
2013-10-19 11:32:49 +08:00
parent f3ef6a4cdd
commit 91980022f3
2 changed files with 3 additions and 49 deletions

View File

@@ -588,11 +588,10 @@ def sys_repo_transfer(request):
def sys_list_orphan(request):
try:
repos = seafile_api.get_orphan_repo_list()
return repos
except Exception as e:
logger.error(e)
repos = []
return render_to_response('sysadmin/sys_list_orphan.html', {
'repos': repos,
}, context_instance=RequestContext(request))