diff options
author | 2013-07-18 19:06:47 +0200 | |
---|---|---|
committer | 2013-07-18 19:06:47 +0200 | |
commit | c51ee306e62c9e50941260d430dbfc69790213e6 (patch) | |
tree | e255603acf0c9dc237c2c7f72f2c5265e93a47b2 | |
parent | fileutils and package database: more appropriate function names (diff) | |
download | gs-elpa-c51ee306e62c9e50941260d430dbfc69790213e6.tar.gz gs-elpa-c51ee306e62c9e50941260d430dbfc69790213e6.tar.bz2 gs-elpa-c51ee306e62c9e50941260d430dbfc69790213e6.zip |
new mechanism fro JSON serialization
-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 149cbe5..16d7f1f 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 +from g_sorcery.g_collections import Package, serializable_elist from g_sorcery.package_db import PackageDB from g_sorcery.fileutils import load_remote_file from g_sorcery.exceptions import SyncError @@ -67,7 +67,7 @@ class ElpaDB(PackageDB): deps = desc[INFO_DEPENDENCIES] dependencies = [] - depend = [] + depend = serializable_elist(separator="\n\t") realname = entry[PKG_NAME].value() for dep in deps: dep_pkg = self._s_get_package(dep[DEP_NAME], dep[DEP_VERSION]) |