phase1: delete unused code
authorThibaut VARÈNE <hacks@slashdirt.org>
Fri, 22 Jun 2018 09:08:11 +0000 (11:08 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 26 Jun 2018 20:09:07 +0000 (22:09 +0200)
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
phase1/master.cfg

index 38d59e38537e5723bc1cab3fae65a6cebff1884f..09fed6a47087b140f298e5f8747e3a5a98b86336 100644 (file)
@@ -259,13 +259,6 @@ def IsNoTaggingRequested(step):
 def IsNoMasterBuild(step):
        return repo_branch != "master"
 
-def IsCleanupConfigured(step):
-       do_cleanup = step.getProperty("do_cleanup")
-       if do_cleanup:
-               return do_cleanup > 0
-       else:
-               return False
-
 def GetBaseVersion(props):
        if re.match("^[^-]+-[0-9]+\.[0-9]+$", repo_branch):
                return repo_branch.split('-')[1]