readthedocs.org complains about the failure about ryu module import.

=
>From e94c710a1acce5fc4e25774502b4133e7d53aa7a Mon Sep 17 00:00:00 2001
From: FUJITA Tomonori <[email protected]>
Date: Sat, 18 May 2013 05:36:21 +0900
Subject: [PATCH] docs: fix import

Signed-off-by: FUJITA Tomonori <[email protected]>
---
 doc/source/conf.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index ebccb2c..4caf9b0 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -12,12 +12,13 @@
 # serve to show the default.
 
 import sys, os
-from ryu import version as ryu_version
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
-#sys.path.insert(0, os.path.abspath('.'))
+sys.path.insert(0, os.path.abspath('../..'))
+
+from ryu import version as ryu_version
 
 # -- General configuration 
-----------------------------------------------------
 
-- 
1.7.12.4 (Apple Git-37)


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to