commit:     426c02c2521b862ed7876c3fdb3018b34f843224
Author:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 20 12:12:50 2016 +0000
Commit:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Sat Feb 20 12:12:50 2016 +0000
URL:        
https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=426c02c2

Remove the profile/config and some prints

 pym/tbc/flags.py |  3 ---
 pym/tbc/sync.py  | 14 --------------
 2 files changed, 17 deletions(-)

diff --git a/pym/tbc/flags.py b/pym/tbc/flags.py
index eea48f3..82b7d42 100644
--- a/pym/tbc/flags.py
+++ b/pym/tbc/flags.py
@@ -117,7 +117,6 @@ class tbc_use_flags(object):
                # reset cpv filter
                self._mysettings.reset()
                self._mysettings.lock()
-               print(usemask)
                return use, use_expand_hidden, usemask, useforce
 
        def get_all_cpv_use_looked(self):
@@ -218,7 +217,6 @@ class tbc_use_flags(object):
                        use_flagsDict[x] = True
                for x in use_disable:
                        use_flagsDict[x] = False
-               print("use_flagsDict", use_flagsDict)
                for k, v in use_flagsDict.items():
                        if build_use_flags_dict[k] != v:
                                if build_use_flags_dict[k]:
@@ -227,5 +225,4 @@ class tbc_use_flags(object):
                                        build_use_flags_list.append("-" + k)
                if build_use_flags_list == []:
                        build_use_flags_list = None
-               print(build_use_flags_list)
                return build_use_flags_list

diff --git a/pym/tbc/sync.py b/pym/tbc/sync.py
index 59560f0..7063bfb 100644
--- a/pym/tbc/sync.py
+++ b/pym/tbc/sync.py
@@ -63,12 +63,6 @@ def git_sync_main(session):
                        GuestBusy = False
                else:
                        time.sleep(60)
-       #remove the needed base profile clone
-       try:
-               os.remove(mysettings['PORTDIR'] + "/profiles/config/parent")
-               os.rmdir(mysettings['PORTDIR'] + "/profiles/config")
-       except:
-               pass
 
        # check git diffs witch get updated and pass that to a dict
        # fetch and merge the repo
@@ -105,14 +99,6 @@ def git_sync_main(session):
                        write_log(session, log_msg, "info", config_id, 
'sync.git_sync_main')
                log_msg = "Checking repo %s Done" % (reponame)
                write_log(session, log_msg, "info", config_id, 
'sync.git_sync_main')
-       # Need to add a clone of profiles/base for reading the tree
-       try:
-               os.mkdir(mysettings['PORTDIR'] + "/profiles/config", 0o777)
-               with open(mysettings['PORTDIR'] + "/profiles/config/parent", 
"w") as f:
-                       f.write("../base\n")
-                       f.close()
-       except:
-               pass
 
        log_msg = "Repo sync ... Done."
        write_log(session, log_msg, "info", config_id, 'sync.git_sync_main')

Reply via email to