sagemath/sagemath-nauty.patch
2017-11-10 11:26:56 -05: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-11-08 08:22:46.174205937 -0500
+++ src/sage/graphs/graph_generators.py 2017-11-08 08:22:54.470206255 -0500
@@ -882,7 +882,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: