Commented dead code.
Now that we guess the units from the prefix there is no need to match missing units against known units.
This commit is contained in:
parent
87a1a97e9a
commit
7aaaa45eb2
|
|
@ -173,9 +173,10 @@ def compare_values(c1, c2):
|
|||
# Values match
|
||||
if u1 == u2:
|
||||
return True # Units match
|
||||
if not u1:
|
||||
return True # No units for component 1
|
||||
if not u2:
|
||||
return True # No units for component 2
|
||||
# No longer posible because now we use the prefix to determine absent units
|
||||
# if not u1:
|
||||
# return True # No units for component 1
|
||||
# if not u2:
|
||||
# return True # No units for component 2
|
||||
|
||||
return False
|
||||
|
|
|
|||
Loading…
Reference in New Issue