1 |
commit: 611d495ead5b590576641aea581fc33fb25bca88 |
2 |
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 26 23:48:12 2011 +0000 |
4 |
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 26 23:48:12 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/zorry.git;a=commit;h=611d495e |
7 |
|
8 |
fix a error in init_portage_settings() |
9 |
|
10 |
--- |
11 |
gobs/bin/gobs_updatedb | 4 ++-- |
12 |
1 files changed, 2 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/gobs/bin/gobs_updatedb b/gobs/bin/gobs_updatedb |
15 |
index 34aac67..5832ace 100755 |
16 |
--- a/gobs/bin/gobs_updatedb |
17 |
+++ b/gobs/bin/gobs_updatedb |
18 |
@@ -48,10 +48,10 @@ def init_portage_settings(): |
19 |
print master.log() |
20 |
|
21 |
conn=CM.getConnection() |
22 |
- check_make_conf(conn) |
23 |
+ check_make_conf() |
24 |
print "Check configs done" |
25 |
# Get default config from the configs table and default_config=1 |
26 |
- config_id = get_default_config(conn) # HostConfigDir = table configs id |
27 |
+ config_id = get_default_config() # HostConfigDir = table configs id |
28 |
CM.putConnection(conn); |
29 |
default_config_root = "/var/lib/gobs/" + gobs_settings_dict['gobs_gitreponame'] + "/" + config_id[0] + "/" |
30 |
# Set config_root (PORTAGE_CONFIGROOT) to default_config_root |