summaryrefslogtreecommitdiff
path: root/libre/sagemath/pexpect-del.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-16 14:21:34 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-16 14:21:34 -0500
commit7a24dbb2f6dca9e0c30f75c3c9b12d81c41bd984 (patch)
tree95c21b175d249070039a7eaa2ab8b8a2b2a6aa27 /libre/sagemath/pexpect-del.patch
parent5c9e07c02b8174ddb3782bfd24c58451654bfe5a (diff)
downloadabslibre-7a24dbb2f6dca9e0c30f75c3c9b12d81c41bd984.tar.gz
abslibre-7a24dbb2f6dca9e0c30f75c3c9b12d81c41bd984.tar.bz2
abslibre-7a24dbb2f6dca9e0c30f75c3c9b12d81c41bd984.zip
sagemath: add new package to [libre]
Diffstat (limited to 'libre/sagemath/pexpect-del.patch')
-rw-r--r--libre/sagemath/pexpect-del.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/libre/sagemath/pexpect-del.patch b/libre/sagemath/pexpect-del.patch
new file mode 100644
index 000000000..3019968d2
--- /dev/null
+++ b/libre/sagemath/pexpect-del.patch
@@ -0,0 +1,15 @@
+diff -ru src/pexpect.py src.del/pexpect.py
+--- src/pexpect.py 2005-11-17 15:36:09.000000000 +0100
++++ src.del/pexpect.py 2012-01-13 10:24:01.000000000 +0100
+@@ -341,7 +341,10 @@
+ """
+ if self.closed:
+ return
+- self.close()
++ try:
++ self.close()
++ except:
++ pass
+
+ def __str__(self):
+ """This returns the current state of the pexpect object as a string.