I've applied the following patch.

-
>From 1ce1db030c873d34c5ff3a90986caf497ca10033 Mon Sep 17 00:00:00 2001
From: Yoshihiro Kaneko <[email protected]>
Date: Wed, 11 Apr 2012 13:45:09 +0900
Subject: [PATCH] fix find_flagfile path handling bug

Signed-off-by: FUJITA Tomonori <[email protected]>
---
 ryu/utils.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ryu/utils.py b/ryu/utils.py
index 3a7b509..6dd8c52 100644
--- a/ryu/utils.py
+++ b/ryu/utils.py
@@ -47,7 +47,7 @@ def find_flagfile(default_path=RYU_DEFAULT_FLAG_FILE):
     script_dir = os.path.dirname(inspect.stack()[-1][1])
 
     for filename in default_path:
-        if not os.path.abspath(filename):
+        if not os.path.isabs(filename):
             if os.path.exists(filename):
                 # try relative to current path
                 filename = os.path.abspath(filename)
-- 
1.7.4.4


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to