lpschedule-generator

libreplanet schedule generator - ricketyspace.net/lpschedule-generator
git clone git://git.ricketyspace.net/lpschedule-generator.git
Log | Files | Refs

commit c36f9e9344015180049d6b6877c089e35cd37e76
parent 3e944ab60684857a1995bba031935f1ddcca7a3f
Author: rsiddharth <rsd@gnu.org>
Date:   Thu, 23 Aug 2018 02:58:21 +0000

setup.py: Update read.

- Remove 'b' flag.
- Change print -> print().

Diffstat:
setup.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py @@ -13,11 +13,11 @@ from setuptools import setup, find_packages def readf(filename): content = '' try: - with open(filename, 'rb') as f: + with open(filename, 'r') as f: for line in f: content = content + line except IOError: - print "Error: unable to open %s" % filename + print('Error: unable to open {}'.format(filename)) return content config = {