Skip to content

Commit

Permalink
remote_files: remove unused error handling for format=ajax
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Jul 14, 2020
1 parent 04c815b commit 593fe03
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/galaxy/webapps/galaxy/api/remote_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 593fe03

Please sign in to comment.