From 593fe03ebec0d423eb4b5f0626762ac50a3f585f Mon Sep 17 00:00:00 2001 From: John Chilton Date: Thu, 18 Jun 2020 16:31:26 -0400 Subject: [PATCH] remote_files: remove unused error handling for format=ajax --- lib/galaxy/webapps/galaxy/api/remote_files.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/galaxy/webapps/galaxy/api/remote_files.py b/lib/galaxy/webapps/galaxy/api/remote_files.py index 2b3c645e7b78..3af52c340e7d 100644 --- a/lib/galaxy/webapps/galaxy/api/remote_files.py +++ b/lib/galaxy/webapps/galaxy/api/remote_files.py @@ -65,8 +65,6 @@ def index(self, trans, **kwd): raise exceptions.InternalServerError('Could not create tree representation of the given folder: %s' % full_import_dir) if not response: raise exceptions.ObjectNotFound('You do not have any files in your user directory. Use FTP to upload there.') - elif format == 'ajax': - raise exceptions.NotImplemented('Not implemented yet. Sorry.') else: try: response = self.__load_all_filenames(full_import_dir, allowlist=trans.app.config.user_library_import_symlink_allowlist) @@ -87,8 +85,6 @@ def index(self, trans, **kwd): except Exception as e: log.debug(unicodify(e)) raise exceptions.InternalServerError('Could not create tree representation of the given folder: %s' % base_dir) - elif format == 'ajax': - raise exceptions.NotImplemented('Not implemented yet. Sorry.') else: try: response = self.__load_all_filenames(base_dir, trans.app.config.user_library_import_symlink_allowlist)