Bug 1374256 - typo in stdout and logfile
Summary: typo in stdout and logfile
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: beakerlib
Version: 24
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: ---
Assignee: Dalibor Pospíšil
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-08 10:52 UTC by Michal Kolar
Modified: 2017-02-16 08:48 UTC (History)
5 users (show)

Fixed In Version: beakerlib-1.13-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-16 08:48:10 UTC
Type: Bug


Attachments (Terms of Use)

Description Michal Kolar 2016-09-08 10:52:00 UTC
Description of problem:
This is a very low priority nitpick. Log of beaker test contain two typos: Duplicit character ':' aflter words 'Installed' and 'Distro'.

Version-Release number of selected component (if applicable):
beakerlib-1.11-2.fc24

How reproducible:
Always

Steps to Reproduce:
1. $make run

Actual results:
...

:: [   LOG    ] :: Installed:    : make-4.1-5.fc24.x86_64 

...

:: [   LOG    ] :: Distro:       : Fedora release 24 (Twenty Four)

...

Expected results:
...

:: [   LOG    ] :: Installed     : make-4.1-5.fc24.x86_64 

...

:: [   LOG    ] :: Distro        : Fedora release 24 (Twenty Four)

...



Additional info:
diff --git a/src/python/journalling.py b/src/python/journalling.py
index 324a3ad..3f41941 100755
--- a/src/python/journalling.py
+++ b/src/python/journalling.py
@@ -231,9 +231,9 @@ class Journal(object):
       elif node.nodeName == "testname":
         Journal.printLog("Test name     : %s" % Journal.__childNodeValue(node, 0))
       elif node.nodeName == "pkgdetails":
-        Journal.printLog("Installed:    : %s" % Journal.__childNodeValue(node, 0))
+        Journal.printLog("Installed     : %s" % Journal.__childNodeValue(node, 0))
       elif node.nodeName == "release":
-        Journal.printLog("Distro:       : %s" % Journal.__childNodeValue(node, 0))
+        Journal.printLog("Distro        : %s" % Journal.__childNodeValue(node, 0))
       elif node.nodeName == "starttime":
         Journal.printLog("Test started  : %s" % Journal.__childNodeValue(node, 0))
       elif node.nodeName == "endtime":


Note You need to log in before you can comment on or make changes to this bug.