Skip to content

Commit

Permalink
Merge pull request #20800 from davidlange6/relmonfix
Browse files Browse the repository at this point in the history
fix directory comparison in relmon tool
  • Loading branch information
cmsbuild committed Oct 7, 2017
2 parents d89a4e7 + 344d37b commit 735144b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/RelMon/python/dqm_interfaces.py
Expand Up @@ -365,7 +365,7 @@ def __eq__(self,dirid):
#if self.name in name2 or name2 in self.name:
if search(self.compname,name2)!=None or search(compname2,self.name)!=None:
is_equal = self.depth*depth2 <0 or self.depth==depth2
if len(self.mother)*(dirid.mother)>0:
if len(self.mother)*len(dirid.mother)>0:
is_equal = is_equal and self.mother==dirid.mother
return is_equal

Expand Down

0 comments on commit 735144b

Please sign in to comment.