Bug 426839

Summary: Syntax error in system-config-cluster FaildomController.py
Product: [Retired] Red Hat Cluster Suite Reporter: Wade Mealing <wmealing>
Component: redhat-config-clusterAssignee: Jim Parsons <jparsons>
Status: CLOSED DUPLICATE QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: low    
Version: 4CC: cluster-maint, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-30 20:41:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to correct error. none

Description Wade Mealing 2007-12-27 07:08:00 UTC
Version:

system-config-cluster-1.0.51-2.0.noarch.rpm


When launching system-config-cluster the error is shown.
system-config-cluster 
Traceback (most recent call last):
  File "/usr/sbin/system-config-cluster", line 52, in <module>
    from ConfigTab import ConfigTab
  File "/usr/share/system-config-cluster/ConfigTab.py", line 27, in <module>
    from ConfigTabController import ConfigTabController
  File "/usr/share/system-config-cluster/ConfigTabController.py", line 35, in
<module>
    from FaildomController import FaildomController
  File "/usr/share/system-config-cluster/FaildomController.py", line 213
    if val == "Yes" or val == "yes" or val="1":
                                          ^
SyntaxError: invalid syntax


I believe this should be:


if val == "Yes" or val == "yes" or val=="1": 

Additional info:

Patch incoming.

Comment 1 Wade Mealing 2007-12-27 07:08:00 UTC
Created attachment 290438 [details]
Patch to correct error.

Comment 2 Jim Parsons 2008-01-30 20:41:49 UTC
This is fixed and a z-stream release is on the way.

*** This bug has been marked as a duplicate of 398291 ***