gns-deb-diff

automate the documentation of the differences between gNewSense and Debian.
git clone git://git.ricketyspace.net/gns-deb-diff.git
Log | Files | Refs

commit b9248aae87ba6fb47fdf0bcca5e7cd59ce94b7ba
parent c34d605e47c1d9c7ff5f771f4fa5115b5f8f46d3
Author: rsiddharth <s@ricketyspace.net>
Date:   Sat, 17 Dec 2016 04:07:31 +0000

Update `read_file`.

* gd_diff.py (read_file): Update print statement in except block.

Diffstat:
gd_diff.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gd_diff.py b/gd_diff.py @@ -42,7 +42,7 @@ def read_file(fpath): try: f = open(fpath, 'r') except FileNotFoundError as e: - print("Error opening '%s' \n Error Info:\n %r" % (fpath, e), + print('Error opening \'{}\' \n Error Info:\n {}'.format(fpath, e), file=sys.stderr) sys.exit(1)