sagemath/sagemath-nauty.patch
2017-04-18 16:03:03 -04:00

12 lines
681 B
Diff

diff -up src/sage/graphs/graph_generators.py.orig src/sage/graphs/graph_generators.py
--- src/sage/graphs/graph_generators.py.orig 2017-04-11 09:58:45.689268257 -0400
+++ src/sage/graphs/graph_generators.py 2017-04-11 09:58:53.297268548 -0400
@@ -875,7 +875,7 @@ class GraphGenerators():
>A geng -d0D3 n=4 e=0-6
"""
import subprocess
- sp = subprocess.Popen("geng {0}".format(options), shell=True,
+ sp = subprocess.Popen("nauty-geng {0}".format(options), shell=True,
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, close_fds=True)
if debug: