diff options
author | Jauhien Piatlicki (jauhien) <piatlicki@gmail.com> | 2013-07-24 00:26:16 +0200 |
---|---|---|
committer | Jauhien Piatlicki (jauhien) <piatlicki@gmail.com> | 2013-07-24 00:26:16 +0200 |
commit | af3d861322bd64772e86a4ffad16bee676e7bc6b (patch) | |
tree | 8d5adaee3d47d543d177e42fa946266ba7ccfa26 /g_sorcery/package_db.py | |
parent | g_sorcery/package_db: add process_uri hook, as we not always want to download... (diff) | |
download | g-sorcery-af3d861322bd64772e86a4ffad16bee676e7bc6b.tar.gz g-sorcery-af3d861322bd64772e86a4ffad16bee676e7bc6b.tar.bz2 g-sorcery-af3d861322bd64772e86a4ffad16bee676e7bc6b.zip |
g_sorcery/package_db: reasonable default for DBGenerator.get_download_uries and fix DBGenerator.process_data
Diffstat (limited to 'g_sorcery/package_db.py')
-rw-r--r-- | g_sorcery/package_db.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g_sorcery/package_db.py b/g_sorcery/package_db.py index 77724d5..35bad48 100644 --- a/g_sorcery/package_db.py +++ b/g_sorcery/package_db.py @@ -582,7 +582,7 @@ class DBGenerator(object): data.update(load_remote_file(**uri)) def get_download_uries(self, common_config, config): - pass + return [config["repo_uri"]] def decode_download_uries(self, uries): decoded = [] @@ -607,7 +607,7 @@ class DBGenerator(object): def parse_data(self): pass #todo: raise no implemeted or add some reasonable default - def process_data(self): + def process_data(self, pkg_db, data, common_config, config): pass def convert(self, configs, dict_name, value): |