mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-18 18:29:01 -04:00
12 lines
681 B
Diff
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 2015-04-03 15:07:35.008402113 -0300
|
|
+++ src/sage/graphs/graph_generators.py 2015-04-03 15:07:44.816402489 -0300
|
|
@@ -827,7 +827,7 @@ class GraphGenerators():
|
|
"""
|
|
import subprocess
|
|
from sage.misc.package import is_package_installed
|
|
- if not is_package_installed("nauty"):
|
|
+ if 1:
|
|
raise TypeError("the optional nauty package is not installed")
|
|
sp = subprocess.Popen("nauty-geng {0}".format(options), shell=True,
|
|
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
|