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
2 changes: 1 addition & 1 deletion apache/index.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2.7

from mod_python import apache
from mod_python import util
Expand Down
1 change: 1 addition & 0 deletions install-dev-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ if type apt-get >/dev/null ; then
BROWSERS="iceweasel chromium"
CHROMEDRIVER="chromedriver"
fi
# In Debian, `python-` is assumed to be python 2.7, no need to specify - dkg
$SUDO_SHIM apt-get install libxml2-dev libxml2-utils libxslt1-dev \
python-dev $BROWSERS zip sqlite3 python-pip libcurl4-openssl-dev xvfb \
libssl-dev git $CHROMEDRIVER
Expand Down
4 changes: 2 additions & 2 deletions makecrx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if [ -n "$1" ]; then
git reset --hard "$1"
fi

VERSION=`python -c "import json ; print(json.loads(open('chromium/manifest.json').read())['version'])"`
VERSION=`python2.7 -c "import json ; print(json.loads(open('chromium/manifest.json').read())['version'])"`

echo "Building chrome version" $VERSION

Expand Down Expand Up @@ -121,7 +121,7 @@ sig_len_hex=$(byte_swap $(printf '%08x\n' $(ls -l "$sig" | awk '{print $5}')))
) > "$crx"
#rm -rf pkg/crx

#python githubhelper.py $VERSION
#python2.7 githubhelper.py $VERSION

#git add chromium/updates.xml
#git commit -m "release $VERSION"
Expand Down
2 changes: 1 addition & 1 deletion test/rules/curl_test_nss/curl_testcase_nss_sni.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2.7
import pycurl
import cStringIO

Expand Down
2 changes: 1 addition & 1 deletion test/rules/src/https_everywhere_checker/gvgen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2.7
# -*- coding: utf-8 -*-
# $Id: gvgen.py 10440 2007-10-23 15:17:33Z toady $
"""
Expand Down