* shorten a bit
This commit is contained in:
+1
-4
@@ -110,11 +110,8 @@ in the respective order to satisfy extra dependencies:
|
|||||||
raise Error(_('External dependencies not satisfied'))
|
raise Error(_('External dependencies not satisfied'))
|
||||||
install_pkg_names(extra_packages)
|
install_pkg_names(extra_packages)
|
||||||
class PackageDB:
|
class PackageDB:
|
||||||
def __init__(self):
|
|
||||||
self.d = d_t
|
|
||||||
|
|
||||||
def get_package(self, key):
|
def get_package(self, key):
|
||||||
return self.d[str(key)]
|
return d_t[str(key)]
|
||||||
|
|
||||||
packagedb = PackageDB()
|
packagedb = PackageDB()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user