[SCM] polybori: Polynomials over Boolean Rings branch, upstream-hg, updated. b4a5cffaa908c53e1d958a42110f8c4dad853aa3

Alexander Dreyer adreyer at gmx.de
Fri Mar 23 08:02:32 UTC 2012


The following commit has been merged in the upstream-hg branch:
commit 129030b239788c072b0b391dc0f798ed28e4284c
Author: Alexander Dreyer <adreyer at gmx.de>
Date:   Thu Mar 15 23:40:39 2012 +0100

    FIX: dot is a prerequsite for doctesting polybori.plot

diff --git a/pyroot/polybori/plot.py b/pyroot/polybori/plot.py
index 368325c..bf18e78 100644
--- a/pyroot/polybori/plot.py
+++ b/pyroot/polybori/plot.py
@@ -22,6 +22,13 @@ def _exists():
             import jinja
         except ImportError:
             return False
+
+    try:
+        process = Popen(["dot", "-V"])
+        process.close()               
+    except:                           
+        return False   
+
     return True
 
 

-- 
polybori: Polynomials over Boolean Rings



More information about the debian-science-commits mailing list