diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2021-03-22 11:47:24 -0700 |
---|---|---|
committer | Greg Becker <becker33@llnl.gov> | 2021-03-31 14:39:23 -0700 |
commit | a1d9a56a43fa59d5e3609047bf2037a92006dc4f (patch) | |
tree | 8db32c79bc247e5ce4c44baa2384e17cbf07a598 /.mailmap | |
parent | 01a6adb5f7d6771150ff01c8ceb413519de0eccf (diff) | |
download | spack-a1d9a56a43fa59d5e3609047bf2037a92006dc4f.tar.gz spack-a1d9a56a43fa59d5e3609047bf2037a92006dc4f.tar.bz2 spack-a1d9a56a43fa59d5e3609047bf2037a92006dc4f.tar.xz spack-a1d9a56a43fa59d5e3609047bf2037a92006dc4f.zip |
specs: remove "or ''" from Spec comparisons
Since `lazy_lexicographic_ordering` handles `None` comparison for us, we
don't need to adjust the spec comparators to return empty strings or
other type-specific empty types. We can just leverage the None-awareness
of `lazy_lexicographic_ordering`.
- [x] remove "or ''" from `_cmp_iter` in `Spec`
- [x] remove setting of `self.namespace` to `''` in `MockPackage`
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions