Skip to content

package.py: replace bare except with catch for SpackError#5896

Merged
scheibelp merged 1 commit intospack:developfrom
scheibelp:bugfix/bare-except-in-package
Oct 24, 2017
Merged

package.py: replace bare except with catch for SpackError#5896
scheibelp merged 1 commit intospack:developfrom
scheibelp:bugfix/bare-except-in-package

Conversation

@scheibelp
Copy link
Copy Markdown
Member

Flake is taking an issue with bare except statements like

try:
  ...
except:
  ...

raising the error [E722] do not use bare except. There are 2 places in package.py where this was happening already.

@scheibelp scheibelp merged commit e660611 into spack:develop Oct 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant