Skip to content

Commit 9ab7859

Browse files
committed
Merge pull request #6 from bricef/gh-pages
Convert to Python 3 using 2to3
2 parents d3d06f3 + c0208a9 commit 9ab7859

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
env
22
.DS_Store
3+
axelrod.log

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Results
1717
=======
1818

19-
This repository contains Python (2.7) code that reproduces the
19+
This repository contains Python code that reproduces the
2020
tournament. To run the tournament, you simply need to:
2121

2222
::

run_axelrod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The code for strategies is present in `axelrod/strategies`.
66
"""
77

8-
from __future__ import division
8+
99
import argparse
1010
from axelrod import run_tournaments, setup_logging
1111

@@ -106,7 +106,7 @@ if __name__ == "__main__":
106106
args.exclude_ordinary,
107107
args.exclude_cheating,
108108
args.exclude_combined]):
109-
print "You've excluded everything - nothing for me to do"
109+
print("You've excluded everything - nothing for me to do")
110110
else:
111111
setup_logging(args.logging_destination, args.verbosity)
112112
# Unravel argparse Namespace object to python keyword arguments.

0 commit comments

Comments
 (0)