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:
SET 2020-08-13 23:06:19 -03:00
parent 87a1a97e9a
commit 7aaaa45eb2
1 changed files with 5 additions and 4 deletions

View File

@ -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