diff --git a/src/DefinitionBase.py b/src/DefinitionBase.py index 9067e19..5cfcec3 100755 --- a/src/DefinitionBase.py +++ b/src/DefinitionBase.py @@ -56,17 +56,13 @@ class DefinitionBase: @callback - def __init__(self, database=":memory:"): + def __init__(self): """ - __init__([database]) - - - database is a filename for the defintion data to be stored. If - omitted, the database will be stored in memory only and will not - be saved. + __init__() For example: - client = loader.new_instance("apt", "unwrapt.db") + client = loader.new_instance("apt") """ #self.database = database diff --git a/src/example.py b/src/example.py index 5452e4f..e77a950 100755 --- a/src/example.py +++ b/src/example.py @@ -29,8 +29,8 @@ # Load definitions from folder loader = DefinitionManager(folder) -# Instanciate an apt client with the database in memory -apt = loader.load("apt", ":memory:") +# Instanciate an apt client +apt = loader.load("apt") # Configure the apt client apt.set_architecture("amd64")