Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: use the setdefault method on dict #127

Merged
merged 1 commit into from
Oct 26, 2015

Conversation

mathstuf
Copy link
Contributor

It allows more concise code and skips some key lookups.

@tgamblin
Copy link
Member

@mathstuf: can you update this one to exclude the externals?

It allows more concise code and skips some key lookups.
@mathstuf
Copy link
Contributor Author

Updated.

tgamblin added a commit that referenced this pull request Oct 26, 2015
python: use the setdefault method on dict
@tgamblin tgamblin merged commit 070e2a3 into spack:develop Oct 26, 2015
@mathstuf mathstuf deleted the use-dict.setdefault branch October 26, 2015 21:41
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.

None yet

2 participants