Author: jmorliaguet
Date: Wed May  3 17:55:35 2006
New Revision: 3035

Modified:
   cpsskins/branches/paris-sprint-2006/utils.py
Log:

- raise an error if no theme manager was found



Modified: cpsskins/branches/paris-sprint-2006/utils.py
==============================================================================
--- cpsskins/branches/paris-sprint-2006/utils.py        (original)
+++ cpsskins/branches/paris-sprint-2006/utils.py        Wed May  3 17:55:35 2006
@@ -33,7 +33,7 @@
             return ob
         ob = getParent(ob)
 
-    return None
+    raise ValueError("No theme management folder was found in this context.")
 
 def addThemeSkeleton(context):
     # for testing purposes
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to