[acme-dev] SF.net SVN: acme-dev:[52] python/fox.py

Revision: 52
          http://acme-dev.svn.sourceforge.net/acme-dev/?rev=52&view=rev
Author:   claudyus
Date:     2010-06-28 12:06:29 +0000 (Mon, 28 Jun 2010)

Log Message:
-----------
[fox.py] fix typo

Modified Paths:
--------------
    python/fox.py

Modified: python/fox.py
===================================================================
--- python/fox.py       2010-06-23 22:07:31 UTC (rev 51)
+++ python/fox.py       2010-06-28 12:06:29 UTC (rev 52)
@@ -107,13 +107,13 @@
                self.fd_pin = open ("/dev/gpio")
                fcntl.ioctl(self.fd_pin, GPIO_REQUEST, self.kernelid)
 
-               if islow(value):
+               if is_low(value):
                        fcntl.ioctl(self.fd_pin, GPIO_DIR_OUT, self.kernelid)
                else:
                        fcntl.ioctl(self.fd_pin, GPIO_DIR_IN, self.kernelid)
 
        def set(self,value):
-               if islow(value):
+               if is_low(value):
                        return fcntl.ioctl(self.fd_pin, GPIO_CLEAR, 
self.kernelid)
                else:
                        return fcntl.ioctl(self.fd_pin, GPIO_SET, self.kernelid)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

Other related posts:

  • » [acme-dev] SF.net SVN: acme-dev:[52] python/fox.py - claudyus