[Packages] Fixed a typo

pull/29/head
Ashesh Vashi 2020-04-08 13:00:49 +05:30
parent 14f21921bb
commit c7afa30d0c
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ class PackageView(PGChildNodeView, SchemaDiffObjectCompare):
status, rset = self.conn.execute_dict(SQL)
if not status:
return internal_server_error(errormsg=res)
return internal_server_error(errormsg=rset)
if len(rset['rows']) == 0:
return gone(