Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/utils.py
diff options
context:
space:
mode:
authorAgustin Zubiaga <aguz@sugarlabs.org>2012-07-02 00:37:00 (GMT)
committer Agustin Zubiaga <aguz@sugarlabs.org>2012-07-02 00:37:00 (GMT)
commitd73dacf611f0b8e8adee0cebefcfc69a8e29854f (patch)
tree6e5bdf3213c0f917c288a8d384a1ac06eff85595 /utils.py
parent3089137fe6255c00ea77f3a61cb762fdf9f30bd6 (diff)
PEP8 and pylint fixes
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils.py b/utils.py
index aefc5b4..9e1b692 100644
--- a/utils.py
+++ b/utils.py
@@ -16,6 +16,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with PyCha. If not, see <http://www.gnu.org/licenses/>.
+
def clamp(minValue, maxValue, value):
"""Make sure value is between minValue and maxValue"""
if value < minValue: