Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
pehrsoderman committed Jun 2, 2019
1 parent d84e88b commit 0c7befc
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bin/problem2html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

export PYTHONPATH
PYTHONPATH="$(dirname "$(dirname "$(readlink -f "$0")")"):$PYTHONPATH"
exec python2 -m problemtools.problem2html "$@"
exec python3 -m problemtools.problem2html "$@"
2 changes: 1 addition & 1 deletion bin/problem2pdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

export PYTHONPATH
PYTHONPATH="$(dirname "$(dirname "$(readlink -f "$0")")"):$PYTHONPATH"
exec python2 -m problemtools.problem2pdf "$@"
exec python3 -m problemtools.problem2pdf "$@"
2 changes: 1 addition & 1 deletion bin/verifyproblem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

export PYTHONPATH
PYTHONPATH="$(dirname "$(dirname "$(readlink -f "$0")")"):$PYTHONPATH"
exec python2 -m problemtools.verifyproblem "$@"
exec python3 -m problemtools.verifyproblem "$@"
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ export PYBUILD_TEST_PYTEST=1
export no_proxy=github.com

%:
dh $@ --with python2 --buildsystem=pybuild
dh $@ --with python3 --buildsystem=pybuild
2 changes: 1 addition & 1 deletion examples/hello/input_format_validators/validate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
from sys import stdin
import sys

Expand Down
2 changes: 1 addition & 1 deletion problemtools/problem2html.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#! /usr/bin/env python3
# -*- coding: utf-8 -*-

import re
Expand Down
2 changes: 1 addition & 1 deletion problemtools/problem2pdf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
import re
import os.path
Expand Down
2 changes: 1 addition & 1 deletion problemtools/tests/test_languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_missing_run(self):

def test_invalid_run(self):
vals = self.__language_dict()
vals['run'] = ['python2', '{mainfile}']
vals['run'] = ['python3', '{mainfile}']
with pytest.raises(languages.LanguageConfigError):
languages.Language('id', vals)
vals['run'] = 'echo {nonexistent}'
Expand Down
2 changes: 1 addition & 1 deletion problemtools/verifyproblem.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#! /usr/bin/env python3
# -*- coding: utf-8 -*-

import glob
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3

from setuptools import setup, find_packages
from setuptools.command.bdist_egg import bdist_egg as _bdist_egg
Expand Down
2 changes: 1 addition & 1 deletion support/default_grader/default_grader
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3

import sys

Expand Down

0 comments on commit 0c7befc

Please sign in to comment.