[glom] Set sourceparts too
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Set sourceparts too
- Date: Thu, 8 Sep 2011 09:15:08 +0000 (UTC)
commit dea6e296c706630be698073d7f3f734b60b19e1c
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Sep 7 14:10:31 2011 +0200
Set sourceparts too
.../repository_analyzer_begin_scan.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/examples/example_scripts/repository_analyzer_begin_scan.py b/examples/example_scripts/repository_analyzer_begin_scan.py
index 3775adc..ba6287f 100644
--- a/examples/example_scripts/repository_analyzer_begin_scan.py
+++ b/examples/example_scripts/repository_analyzer_begin_scan.py
@@ -1233,6 +1233,7 @@ def get_package_data_list(out_licenses_map, package_names_list_restrict_to):
# Tell apt what sources.list to use.
# (See "apt-config dump" for the list of all config keys.)
apt_pkg.Config.set("Dir::Etc::sourcelist", temp_sourceslist_path)
+ apt_pkg.Config.set("Dir::Etc::sourceparts", temp_sourceslist_path) #Do we need both? Set this to ""?
apt_pkg.Config.set("Dir::Cache::archives", config_dir_cache_archives)
apt_pkg.Config.set("Dir::State", config_dir_state)
apt_pkg.Config.set("Dir::State::Lists", config_dir_state_lists)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]