Fix bashism in NovaEvacuate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-resource-agents |
In Progress
|
Medium
|
Norbert Illes |
Bug Description
Tox syntax-check is failing because of a bashism in NovaEvacuate.
$ tox -e syntax-check
syntax-check installed:
syntax-check runtests: PYTHONHASHSEED=
syntax-check runtests: commands[0] | bash -c /home/eillnor/
possible bashism in /tmp/tmp.cRSar6D0il line 259 (<() process substituion):
2> >(grep -v "attribute does not exist" 1>&2) |
Syntax Test FAILED: syntax errors found in the following files:
/home/eillnor/
ERROR: InvocationError: '/bin/bash -c /home/eillnor/
_______
ERROR: syntax-check: commands failed
Changed in openstack-resource-agents: | |
assignee: | nobody → Norbert Illes (nilles) |
description: | updated |
Changed in openstack-resource-agents: | |
status: | New → In Progress |
Changed in openstack-resource-agents: | |
importance: | Undecided → Medium |
It seems this can be done without bashisms: http:// stackoverflow. com/questions/ 3618078/ pipe-only- stderr- through- a-filter