aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-17 19:04:20 +0200
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-17 19:04:20 +0200
commit1a08be09e50ba9bdce2e7838db2d120f22279e80 (patch)
tree7e646cad9a0da7e162a0d1ad5ac2bd4be6c7657f /g_sorcery/package_db.py
parentg_sorcery/package_db: split generate_tree function (diff)
downloadg-sorcery-1a08be09e50ba9bdce2e7838db2d120f22279e80.tar.gz
g-sorcery-1a08be09e50ba9bdce2e7838db2d120f22279e80.tar.bz2
g-sorcery-1a08be09e50ba9bdce2e7838db2d120f22279e80.zip
g_sorcery/fileutils: xz files support
Diffstat (limited to 'g_sorcery/package_db.py')
-rw-r--r--g_sorcery/package_db.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/g_sorcery/package_db.py b/g_sorcery/package_db.py
index 8b256e0..2d8ee42 100644
--- a/g_sorcery/package_db.py
+++ b/g_sorcery/package_db.py
@@ -179,7 +179,7 @@ class PackageDB(object):
data = self.download_data()
self.parse_data(data)
- def load_data(self):
+ def load_data(self, data_f):
pass
def parse_data(data):
@@ -197,7 +197,6 @@ class PackageDB(object):
decuri["loader"] = self.load_data
decuri["open_file"] = True
decuri["open_mode"] = "r"
- decuri["process_unpacked_as_directory"] = False
else:
decuri = uri
if not "loader" in decuri:
@@ -206,8 +205,6 @@ class PackageDB(object):
decuri["open_file"] = True
if not "open_mode" in decuri:
decuri["open_mode"] = "r"
- if not "process_unpacked_as_directory" in decuri:
- decuri["process_unpacked_as_directory"] = False
decoded.append(decuri)
return decoded