Changeset 3201

Show
Ignore:
Timestamp:
07/23/08 14:52:10 (5 years ago)
Author:
getxsick
Message:

Fixed typos and small bugs reported by nopper.

Location:
branch/UMPA/umpa
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branch/UMPA/umpa/protocols/_.py

    r3194 r3201  
    2222import struct 
    2323 
    24 #from umpa import utils 
     24from umpa import utils 
    2525 
    2626BYTE = 8 
     
    124124    def get(self, *names): 
    125125        # we check if name of the field in the flag is correct 
    126         result = [ self._value[val] for val in name if self._is_valid(val) ] 
     126        result = [ self._value[val] for val in names if self._is_valid(val) ] 
    127127 
    128128        # if no results above we return whole list of values 
  • branch/UMPA/umpa/utils/__init__.py

    r3128 r3201  
    2020# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA  
    2121 
    22 from my_exceptions import UMPAException 
     22from my_exceptions import * 
    2323 
    2424def _pairwise(iterable):