From 5646459fde21dd452cdffbb507a24d2e47c8740c Mon Sep 17 00:00:00 2001
From: Arnaud Fontaine <arnaud.fontaine@nexedi.com>
Date: Thu, 1 Mar 2012 15:32:13 +0900
Subject: [PATCH] Cosmetic.

---
 product/ERP5Type/dynamic/component_package.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/product/ERP5Type/dynamic/component_package.py b/product/ERP5Type/dynamic/component_package.py
index a564b9a88d..5264428324 100644
--- a/product/ERP5Type/dynamic/component_package.py
+++ b/product/ERP5Type/dynamic/component_package.py
@@ -212,8 +212,7 @@ class ComponentDynamicPackage(ModuleType):
         component = component_version_dict.get(version, None)
         if component is not None:
           break
-
-      if component is None:
+      else:
         return None
 
       try:
-- 
2.30.9