Bug 111889 - [PATCH] cuts off long service names
Summary: [PATCH] cuts off long service names
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-config-services
Version: 1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-12-11 09:33 UTC by Michael Schwendt
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-12-11 12:38:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Schwendt 2003-12-11 09:33:26 UTC
--- servicemethods.py.orig      2003-10-22 16:09:43.000000000 +0200
+++ servicemethods.py   2003-12-11 10:23:14.000000000 +0100
@@ -200,7 +200,10 @@
         for i in chkconfig_list:
             x=re.split(r"\t", i.strip())
             end= x[0].rfind(":")
-            name=x[0][:end].strip()
+            if end >= 0:
+                name = x[0][:end].strip()
+            else:
+                name=x[0].strip()
             if name != "xinetd based services":
                 runlevel=x[1:]
                 if len(runlevel) > 1:


Version-Release number of selected component (if applicable):
redhat-config-services-0.8.5-23

Comment 1 Daniel Walsh 2003-12-11 12:38:09 UTC
Added your patch to  system-config-services-0.8.6-1

Note the rename.

Dan


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