Skip to content

Commit

Permalink
API, jobs: have create return galactic 501
Browse files Browse the repository at this point in the history
- Uses MessageException version which can be parsed as 501
  • Loading branch information
carlfeberhard committed Jul 29, 2016
1 parent ff26129 commit 45c9506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/api/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def __get_job( self, trans, id ):
@expose_api
def create( self, trans, payload, **kwd ):
""" See the create method in tools.py in order to submit a job. """
raise NotImplementedError( 'Please POST to /api/tools instead.' )
raise exceptions.NotImplemented( 'Please POST to /api/tools instead.' )

@expose_api
def search( self, trans, payload, **kwd ):
Expand Down

0 comments on commit 45c9506

Please sign in to comment.