Commit c658b660 authored by Antoine Millet's avatar Antoine Millet
Browse files

Changed error message to be coherent with cli.

parent 06a5d6c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -306,7 +306,7 @@ class JobsManager(object):
        job = self._jobs.get(jobid)

        if job is None:
            raise UnknownJobError('Jobid %r is unknown' % jobid)
            raise UnknownJobError('Invalid job id: %r' % jobid)
        else:
            job.cancel()