summaryrefslogtreecommitdiff
path: root/.github/CONTRIBUTING.md
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2021-02-11 00:52:37 -0800
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-02-11 15:30:57 +0100
commit3b3314802ec33008b2aae75d3606be224c5cb052 (patch)
tree55a91f198ed81b164bb529e6c5ad97a776e3bdd0 /.github/CONTRIBUTING.md
parentc81ca37dfccba9dd2863f8ec40414e0453bcc983 (diff)
downloadspack-3b3314802ec33008b2aae75d3606be224c5cb052.tar.gz
spack-3b3314802ec33008b2aae75d3606be224c5cb052.tar.bz2
spack-3b3314802ec33008b2aae75d3606be224c5cb052.tar.xz
spack-3b3314802ec33008b2aae75d3606be224c5cb052.zip
database: don't create a date object in `query()` unless it's necessary
`query()` calls `datetime.datetime.fromtimestamp` regardless of whether a date query is being done. Guard this with an if statement to avoid the unnecessary work.
Diffstat (limited to '.github/CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions