2019-08-09 14:03:40 +01:00
|
|
|
diff --git a/src/sage/lfunctions/sympow.py b/src/sage/lfunctions/sympow.py
|
2020-10-22 09:20:17 +01:00
|
|
|
index 92cb01fd73..b123e6accc 100644
|
2019-08-09 14:03:40 +01:00
|
|
|
--- a/src/sage/lfunctions/sympow.py
|
|
|
|
+++ b/src/sage/lfunctions/sympow.py
|
|
|
|
@@ -50,6 +50,7 @@ from __future__ import print_function, absolute_import
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
+from sage.env import DOT_SAGE
|
|
|
|
from sage.structure.sage_object import SageObject
|
2020-10-22 09:20:17 +01:00
|
|
|
from sage.misc.all import pager
|
|
|
|
from sage.misc.verbose import verbose
|
|
|
|
@@ -78,7 +79,7 @@ class Sympow(SageObject):
|
2019-08-09 14:03:40 +01:00
|
|
|
"""
|
|
|
|
Used to call sympow with given args
|
|
|
|
"""
|
2020-10-22 09:20:17 +01:00
|
|
|
- cmd = 'sympow %s' % args
|
2019-08-09 14:03:40 +01:00
|
|
|
+ cmd = 'env SYMPOW_CACHEDIR="%s/sympow///" sympow %s' % (DOT_SAGE, args)
|
2020-10-22 09:20:17 +01:00
|
|
|
with os.popen(cmd) as f:
|
|
|
|
v = f.read().strip()
|
2019-08-09 14:03:40 +01:00
|
|
|
verbose(v, level=2)
|