Bug 245241 - chcat has else lines that don't end with :s
chcat has else lines that don't end with :s
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: policycoreutils (Show other bugs)
7
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-21 16:40 EDT by Bruno Wolff III
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version: 2.0.16-8.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-10-27 11:34:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bruno Wolff III 2007-06-21 16:40:27 EDT
Description of problem:
Lines 80 and 158 of chcat are else lines that don't end in :s. If you run chcat
with the -L option these typos cause chcat to stop with a syntax error instead
of listing the available categories.

Version-Release number of selected component (if applicable):
2.0.16-5.fc7

How reproducible:
100%

Steps to Reproduce:
1. chcat -L
2.
3.
  
Actual results:
[root@cerberus bruno]# chcat -L
  File "/usr/bin/chcat", line 80
    else
       ^
SyntaxError: invalid syntax


Expected results:
[root@cerberus bruno]# chcat -L
s0                             
s0-s0:c0.c1023                 SystemLow-SystemHigh
s0:c0.c1023                    SystemHigh

Additional info:
Comment 1 Daniel Walsh 2007-06-22 09:36:18 EDT
Fixed in /policycoreutils-2.0.16-8.fc7
Comment 2 Bruno Wolff III 2007-10-27 11:34:14 EDT
This got fixed a while ago and I don't see any reason that the ticket should
still be open (certainly not on my account).

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