diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-06-19 13:31:09 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-06-20 11:50:55 +0200 |
commit | 741a757e62e2fb66103b42023a2d972511e994ab (patch) | |
tree | e400a9a6f904b5f4dbcaa6e57f04949c21b45934 /cerbero | |
parent | af7fe117e5bb5ab62a1c4133f665b0b9375e8731 (diff) |
pacakge: don't load files in __init__
The packages store already loads files after the prepare
stage, where things can have changed. This avoid calling this costful
operationg twice
Diffstat (limited to 'cerbero')
-rw-r--r-- | cerbero/packages/package.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cerbero/packages/package.py b/cerbero/packages/package.py index 43cde96..c3abf58 100644 --- a/cerbero/packages/package.py +++ b/cerbero/packages/package.py @@ -229,7 +229,6 @@ class Package(PackageBase): def __init__(self, config, store, cookbook): PackageBase.__init__(self, config, store) self.cookbook = cookbook - self.load_files() def load_files(self): self._files = self.files + \ |