From: W. Trevor King Date: Mon, 23 Jan 2012 20:55:22 +0000 (-0500) Subject: Oops, remove trailing colon from `max_def = defc.get_maxdata():`. X-Git-Tag: v0.4~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=86a9848b14c059aa264b0b65d4454a2c4e821e89;p=pyafm.git Oops, remove trailing colon from `max_def = defc.get_maxdata():`. Sloppy copy/paste. --- diff --git a/pyafm/afm.py b/pyafm/afm.py index 0417e6b..406b15f 100644 --- a/pyafm/afm.py +++ b/pyafm/afm.py @@ -152,7 +152,7 @@ class AFM (object): def _check_target_deflection(self, target_deflection): defc = self._deflection_channel() - max_def = defc.get_maxdata(): + max_def = defc.get_maxdata() if target_deflection > max_def: _LOG.error(('requested setpoint ({:g} V = {:d} bits) is larger ' 'than the maximum deflection value of {:d} bits'