mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #4854 from nsoranzo/release_16.07_fix_test_regressions
[16.07] Fix regressions in library API
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
import ntpath
|
||||
import ntpath # noqa: I100 See https://github.com/PyCQA/flake8-import-order/pull/115
|
||||
import sys
|
||||
|
||||
from . import _build_self
|
||||
|
||||
@@ -277,7 +277,6 @@ class LibraryCommon( BaseUIController, UsesFormDefinitionsMixin, UsesExtendedMet
|
||||
status=escape( status ) )
|
||||
|
||||
@web.expose
|
||||
@web.require_admin
|
||||
def create_folder( self, trans, cntrller, parent_id, library_id, **kwd ):
|
||||
message = escape( kwd.get( 'message', '' ) )
|
||||
status = kwd.get( 'status', 'done' )
|
||||
@@ -802,7 +801,6 @@ class LibraryCommon( BaseUIController, UsesFormDefinitionsMixin, UsesExtendedMet
|
||||
status=escape( status ) )
|
||||
|
||||
@web.expose
|
||||
@web.require_admin
|
||||
def upload_library_dataset( self, trans, cntrller, library_id, folder_id, **kwd ):
|
||||
message = escape( kwd.get( 'message', '' ) )
|
||||
status = kwd.get( 'status', 'done' )
|
||||
|
||||
Reference in New Issue
Block a user