From 2cd488ab4bb3de323496b28c388c48c81eb8b844 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com>
Date: Tue, 4 Dec 2012 13:06:54 +0100
Subject: [PATCH] Legacy default software type is RootSoftwareInstance, not
 RootSoftwareType

---
 slapos/recipe/softwaretype.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slapos/recipe/softwaretype.py b/slapos/recipe/softwaretype.py
index ab604c54e..e4f58842f 100644
--- a/slapos/recipe/softwaretype.py
+++ b/slapos/recipe/softwaretype.py
@@ -93,7 +93,7 @@ class Recipe:
     # Raise if request software_type does not exist ...
     if software_type not in self.options:
       # ... Except for backward compatibility. Then use "default".
-      if software_type in ['RootSoftwareType']:
+      if software_type in ['RootSoftwareInstance']:
         software_type = 'default'
       else:
         raise zc.buildout.UserError("This software type (%s) isn't mapped." % \
-- 
2.30.9