diff options
author | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2017-03-30 11:34:40 +0000 |
---|---|---|
committer | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2017-03-30 11:34:40 +0000 |
commit | 406ca84eb2dc16f8aceb77c8ef0baa48d9f87f9e (patch) | |
tree | 4199f9bb502ecf548e17728dd2f9bba35c9a671d /misc/py-pyprind/files | |
parent | Update to the 20170328 snapshot of GCC 5.4.1. (diff) |
- Update to 2.10.0
- While here, fix 'make test'
PR: 217523
Submitted by: Neel Chauhan <neel@neelc.org> (maintainer)
Notes
Notes:
svn path=/head/; revision=437282
Diffstat (limited to 'misc/py-pyprind/files')
-rw-r--r-- | misc/py-pyprind/files/patch-pyprind_prog__class.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/py-pyprind/files/patch-pyprind_prog__class.py b/misc/py-pyprind/files/patch-pyprind_prog__class.py new file mode 100644 index 000000000000..4f010b7fc9e9 --- /dev/null +++ b/misc/py-pyprind/files/patch-pyprind_prog__class.py @@ -0,0 +1,12 @@ +--- pyprind/prog_class.py.orig 2017-03-18 12:03:55 UTC ++++ pyprind/prog_class.py +@@ -91,6 +91,9 @@ class Prog(): + supported = ('PYCHARM_HOSTED' in os.environ or + os.isatty(sys.stdout.fileno())) + ++ except AttributeError: ++ supported = False ++ + # a fix for IPython notebook "IOStream has no fileno." + except(UnsupportedOperation): + supported = True |