diff options
Diffstat (limited to 'g_elpa/elpa_db.py')
-rw-r--r-- | g_elpa/elpa_db.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g_elpa/elpa_db.py b/g_elpa/elpa_db.py index 16d7f1f..70378ac 100644 --- a/g_elpa/elpa_db.py +++ b/g_elpa/elpa_db.py @@ -22,7 +22,7 @@ if py2k: else: from urllib.parse import urljoin -from g_sorcery.g_collections import Package, serializable_elist +from g_sorcery.g_collections import Dependency, Package, serializable_elist from g_sorcery.package_db import PackageDB from g_sorcery.fileutils import load_remote_file from g_sorcery.exceptions import SyncError @@ -72,7 +72,7 @@ class ElpaDB(PackageDB): for dep in deps: dep_pkg = self._s_get_package(dep[DEP_NAME], dep[DEP_VERSION]) dependencies.append(dep_pkg) - depend.append(dep_pkg.category + '/' + dep_pkg.name) + depend.append(Dependency(dep_pkg.category, dep_pkg.name)) properties = {'source_type' : source_type, 'description' : description, |