[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [test-API 07/10] Update logging stuffs so that it works after source tree reorgnizing



On 04/18/2012 01:49 PM, Osier Yang wrote:
---
  src/log.xsl         |    2 +-
  src/logxmlparser.py |    2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/log.xsl b/src/log.xsl
index 84ad5fa..7b8f47c 100644
--- a/src/log.xsl
+++ b/src/log.xsl
@@ -5,7 +5,7 @@
  <html>
    <head>
        <title>Libvirt testing log</title>
-<link rel="stylesheet" href="log.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="src/log.css" type="text/css" media="screen" />
        <script language="javascript">
            <![CDATA[
            var xmlDOc;
diff --git a/src/logxmlparser.py b/src/logxmlparser.py
index d2fe7f5..2e00967 100644
--- a/src/logxmlparser.py
+++ b/src/logxmlparser.py
@@ -38,7 +38,7 @@ class LogXMLParser(object):
          """ generate a new log xml file with head if that doesn't exist """
          XMLFILE = open(self.logxml, "w")
          XMLFILE.write('<?xml version="1.0"?><?xml-stylesheet type="text/xsl"\
-                         href="log.xsl"?><log xmlns:xlink= \
+                         href="src/log.xsl"?><log xmlns:xlink= \
                           "http://www.w3.org/1999/xlink";></log>')
          XMLFILE.close()


       Don't break anything, I am afraid of it.
       Please ensure it.

       ACK

       Guannan Ren


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]