diff options
author | nags <nags@nags-desktop.(none)> | 2010-03-15 21:09:42 -0700 |
---|---|---|
committer | nags <nags@nags-desktop.(none)> | 2010-03-15 21:09:42 -0700 |
commit | e205538edf09cc98c6b0847c8c8f704467109ada (patch) | |
tree | 45f3a84f194bfa6cf02e2bdb190cefc097eb6f91 | |
parent | b77a0e3e724555806bb6be3627d3d5b6314afe94 (diff) |
Updated variable name
-rw-r--r-- | ldtpd/value.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ldtpd/value.py b/ldtpd/value.py index 46c9684..66da755 100644 --- a/ldtpd/value.py +++ b/ldtpd/value.py @@ -497,12 +497,12 @@ class Value(Utils): raise LdtpServerException('Value cannot be entered into object.') i = 0 - max = valuei.maximumValue / 8; + maxValue = valuei.maximumValue / 8; flag = False while i < iterations: if valuei.currentValue >= valuei.maximumValue: raise LdtpServerException('Maximum limit reached') - valuei.currentValue += max + valuei.currentValue += maxValue time.sleep(1.0/100) flag = True i += 1 @@ -538,12 +538,12 @@ class Value(Utils): raise LdtpServerException('Value cannot be entered into object.') i = 0 - min = valuei.maximumValue / 8; + minValue = valuei.maximumValue / 8 flag = False while i < iterations: if valuei.currentValue < valuei.minimumValue: raise LdtpServerException('Minimum limit reached') - valuei.currentValue -= min + valuei.currentValue -= minValue time.sleep(1.0/100) flag = True i += 1 |