simonw / datasette
Showing 1 of 1 files from the diff.

@@ -641,10 +641,12 @@
Loading
641 641
            },
642 642
        }
643 643
        if using_pysqlite3:
644 -
            try:
645 -
                info["pysqlite3"] = pkg_resources.get_distribution("pysqlite3").version
646 -
            except pkg_resources.DistributionNotFound:
647 -
                pass
644 +
            for package in ("pysqlite3", "pysqlite3-binary"):
645 +
                try:
646 +
                    info["pysqlite3"] = pkg_resources.get_distribution(package).version
647 +
                    break
648 +
                except pkg_resources.DistributionNotFound:
649 +
                    pass
648 650
        return info
649 651
650 652
    def _plugins(self, request=None, all=False):
Files Coverage
datasette 91.43%
Project Totals (31 files) 91.43%
1
coverage:
2
  status:
3
    project:
4
      default:
5
        informational: true
6
    patch:
7
      default:
8
        informational: true
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading