From 7661620b9e989035a3dcf48a11c984b63bccd85c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com>
Date: Tue, 26 Mar 2013 13:44:27 +0000
Subject: [PATCH] Remove automatic 'location' setup in librecipe.

This has to be opt-in only as maybe we don't want it.
---
 slapos/recipe/librecipe/generic.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/slapos/recipe/librecipe/generic.py b/slapos/recipe/librecipe/generic.py
index d5abeaa22..3b98aeb18 100644
--- a/slapos/recipe/librecipe/generic.py
+++ b/slapos/recipe/librecipe/generic.py
@@ -56,10 +56,6 @@ class GenericBaseRecipe(object):
     self.buildout = buildout
     self.logger = logging.getLogger(name)
 
-    if not options.get('location'):
-      options['location'] = os.path.join(
-          buildout['buildout']['parts-directory'], self.name)
-
     self.options = options.copy() # If _options use self.optionIsTrue
     self._options(options) # Options Hook
     self.options = options.copy() # Updated options dict
-- 
2.30.9