Actions
Bug #6741
closedrudder-dev commit fails to assign tickets for non-admin users
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Traceback (most recent call last): File "/usr/bin/rudder-dev", line 1058, in <module> commit(arguments['<trigraph>'], arguments['<PR_comment>']) File "/usr/bin/rudder-dev", line 771, in commit user = ask_username(trigraph) File "/usr/bin/rudder-dev", line 380, in ask_username users = get_normation_users() File "/usr/bin/rudder-dev", line 367, in get_normation_users user_list = [ u for u in users.json()['users'] if u['mail'].endswith("normation.com") ] File "/usr/lib/python2.7/site-packages/requests/models.py", line 799, in json return json.loads(self.text, **kwargs) File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads return _default_decoder.decode(s) File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded
Actions