mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
https-ify links
- A lot of http links loaded fine on https - pre-commit.com is now loadable on https via cloudflare
This commit is contained in:
parent
c8fd92e368
commit
5a4dc0ce30
8 changed files with 11 additions and 11 deletions
|
|
@ -68,7 +68,7 @@ class Store(object):
|
|||
os.close(fd)
|
||||
# sqlite doesn't close its fd with its contextmanager >.<
|
||||
# contextlib.closing fixes this.
|
||||
# See: http://stackoverflow.com/a/28032829/812183
|
||||
# See: https://stackoverflow.com/a/28032829/812183
|
||||
with contextlib.closing(sqlite3.connect(tmpfile)) as db:
|
||||
db.executescript(
|
||||
'CREATE TABLE repos ('
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue