sagemath/sagemath-nauty.patch
2017-04-06 08:02:52 -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-03-04 13:28:37.640480240 -0500
+++ src/sage/graphs/graph_generators.py 2017-03-04 13:28:47.287480610 -0500
@@ -874,7 +874,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: