Improve jenkins_server to not error when no command is supplied

Bug #1385192 reported by Caio Begotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Capomastro
Triaged
Low
Unassigned

Bug Description

def handle(self, command, *args, **options):

Requires a command, and errors if there isn't one...this should just use *args and verify the number of args.

From https://github.com/capomastro/capomastro/issues/42

Tags: feature github
Revision history for this message
Daniel Manrique (roadmr) wrote :

this is in jenkins/management/commands/jenkins_server.py.

It should be easyish to just remove command and instead check the args tuple for the required command. This is an extension of a django management command, which I'm not too familiar with, so I won't speculate as to what else is needed.

Triaging to future since it hasn't been an issue, I think.

Changed in capomastro:
milestone: none → future
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.