Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/sage/graphs/graph_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@
from . import graph
from sage.rings.integer import Integer
from sage.databases.sql_db import SQLDatabase, SQLQuery
from sage.features.databases import DatabaseGraphs
from sage.graphs.graph import Graph
dblocation = DatabaseGraphs().absolute_filename()


def degseq_to_data(degree_sequence):
Expand Down Expand Up @@ -994,6 +992,8 @@ class will also interface with the optional database package containing
'sql': 'TEXT',
'unique': False}}}
"""
from sage.features.databases import DatabaseGraphs
dblocation = DatabaseGraphs().absolute_filename()
SQLDatabase.__init__(self, dblocation)

def _gen_interact_func(self, display, **kwds):
Expand Down
Loading