From 2627075ff799924def6fc93ac6fde672fb814528 Mon Sep 17 00:00:00 2001
From: Tatuya Kamada <tatuya@nexedi.com>
Date: Wed, 25 Apr 2012 17:41:17 +0900
Subject: [PATCH] Simplify the code.

---
 slapos/recipe/web_checker/__init__.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/slapos/recipe/web_checker/__init__.py b/slapos/recipe/web_checker/__init__.py
index a7c3a6e26..90ffe60a3 100644
--- a/slapos/recipe/web_checker/__init__.py
+++ b/slapos/recipe/web_checker/__init__.py
@@ -37,9 +37,8 @@ class Recipe(GenericSlapRecipe):
     web_checker_mail_address = self.parameter_dict['web-checker-mail-address']
     web_checker_smtp_host = self.parameter_dict['web-checker-smtp-host']
     web_checker_frontend_url = self.parameter_dict.get(
-                                'web-checker-frontend-url')
-    if web_checker_frontend_url is None:
-      web_checker_frontend_url = self.options['frontend-url']
+                                 'web-checker-frontend-url',
+                                 self.options['frontend-url'])
     web_checker_working_directory = \
       self.options['web-checker-working-directory']
     config = dict(
-- 
2.30.9