SCM

[#6563] Use is() for class comparisons

View Trackers | Bugs | Download .csv | Monitor

Date:
2018-02-19 18:17
Priority:
3
State:
Open
Submitted by:
Jeffrey Arnold (jrnold)
Assigned to:
Nobody (None)
Hardware:
All
Product:
None
Operating System:
All
Component:
None
Version:
v1.1
Severity:
minor
Resolution:
None
 
URL:
Summary:
Use is() for class comparisons

Detailed description
At a couple places, the inheritance relationship between an object and a class is tested with class(x) == "classname" rather than the recommended is() or inherits(). The attached patch replaces those cases with is().

Followup

No Followups Have Been Posted

Attached Files:

Attachments:
fix-class-tests.diff

Changes:

Field Old Value Date By
File Added5163: fix-class-tests.diff2018-02-19 18:17jrnold
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge