Fix error reporting in a corner case.  Looks like a case of incomplete copy-and-paste...

This chunk of code appears in the torsion assignment for the Amoeba FF.  I found the error with pyflakes (like pylint).