Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions chromium/setversion.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python2.7
import json
from datetime import date

Expand Down
2 changes: 1 addition & 1 deletion utils/check_certs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2.7

import sys
import re
Expand Down
2 changes: 1 addition & 1 deletion utils/chromium-preloads.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2.7

# autogenerate sample versions of rules from Chromium browser's HSTS
# preload list (in the from-preloads/ directory)
Expand Down
2 changes: 1 addition & 1 deletion utils/create_xpi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2.7
#!/usr/bin/env python2.7

# Uses the Python zip implementation to create deterministic XPI's
# Author: Yan Zhu, yan@mit.edu
Expand Down
2 changes: 1 addition & 1 deletion utils/dbconnect.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2.7
import MySQLdb

try: from db_private import DB_USER
Expand Down
1 change: 1 addition & 0 deletions utils/find_rules.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python2.7
"""
Copyleft 2013 Osama Khalid.

Expand Down
2 changes: 1 addition & 1 deletion utils/make-sqlite.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2.7
#!/usr/bin/env python2.7
#
# Builds an sqlite DB containing all the rulesets, indexed by target.

Expand Down
2 changes: 1 addition & 1 deletion utils/merge-rulesets.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2.7

# Merge all the .xml rulesets into a single "default.rulesets" file -- this
# prevents inodes from wasting disk space, but more importantly, works around
Expand Down
2 changes: 1 addition & 1 deletion utils/mk_client_whitelist.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2.7

# Make a list of the current top 1,000 certs to whitelist from the
# Decentralized SSL Observatory's client submissions, to live in
Expand Down
2 changes: 1 addition & 1 deletion utils/simple.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2.7

from lxml import etree
import regex
Expand Down
2 changes: 1 addition & 1 deletion utils/single_rule_response.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2.7

import sys, os, re
from functools import partial
Expand Down
2 changes: 1 addition & 1 deletion utils/trivial-response.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2.7

import sys, os, re, subprocess
from time import sleep
Expand Down
2 changes: 1 addition & 1 deletion utils/trivial-validate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2.7
#!/usr/bin/env python2.7

import argparse
import sys, re, os
Expand Down
1 change: 1 addition & 0 deletions utils/zipfile_deterministic.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python2.7
"""
A fork of the Zipfile module to read and write ZIP files from Python 2.6.
This module aims to create deterministic, byte-for-byte identical zip files.
Expand Down