From a5c0cecfd9ed733438506ddcff2fd06dcb88a7e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Wed, 12 Oct 2011 06:15:25 +0000 Subject: [PATCH] build: Fetch actions script inside __init__ Otherwise, set_build_type would fail when loading actions script. Fixes the regression introduced in r37972. --- pisi/operations/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/operations/build.py b/pisi/operations/build.py index be2ed8e1..4035c58f 100644 --- a/pisi/operations/build.py +++ b/pisi/operations/build.py @@ -211,6 +211,7 @@ class Builder: pkgname = os.path.basename(self.specdiruri) self.specdir = util.join_path(ctx.config.tmp_dir(), pkgname) + self.fetch_actionsfile() self.fetch_translationsfile() else: self.specdir = os.path.dirname(self.specuri.get_uri()) @@ -422,7 +423,6 @@ class Builder: os.environ["CCACHE_DIR"] = "/root/.ccache" def fetch_files(self): - self.fetch_actionsfile() self.fetch_patches() self.fetch_comarfiles() self.fetch_additionalFiles()