aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-09-16 17:04:58 +0200
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-09-16 17:04:58 +0200
commit87b54474bb528e1da59c318b65e9806a0bb38926 (patch)
treed5279ff225c9e55d5eb2781b7182638e49db5e8f
parenttests/test_PackageDB: test database functionality (diff)
downloadg-sorcery-87b54474bb528e1da59c318b65e9806a0bb38926.tar.gz
g-sorcery-87b54474bb528e1da59c318b65e9806a0bb38926.tar.bz2
g-sorcery-87b54474bb528e1da59c318b65e9806a0bb38926.zip
g_sorcery/package_db: fix
-rw-r--r--g_sorcery/package_db.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/g_sorcery/package_db.py b/g_sorcery/package_db.py
index 6c8a0d9..4320ab5 100644
--- a/g_sorcery/package_db.py
+++ b/g_sorcery/package_db.py
@@ -562,9 +562,7 @@ class DBGenerator(object):
if generate:
pkg_db.clean()
self.generate_tree(pkg_db, common_config, config)
- #todo: make db write on every add_package and only necessary info
- pkg_db.write()
- pkg_db.manifest()
+ pkg_db.write_and_manifest()
return pkg_db
def generate_tree(self, pkg_db, common_config, config):