Changeset 3201
- Timestamp:
- 07/23/08 14:52:10 (5 years ago)
- Location:
- branch/UMPA/umpa
- Files:
-
- 2 modified
-
protocols/_.py (modified) (2 diffs)
-
utils/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branch/UMPA/umpa/protocols/_.py
r3194 r3201 22 22 import struct 23 23 24 #from umpa import utils24 from umpa import utils 25 25 26 26 BYTE = 8 … … 124 124 def get(self, *names): 125 125 # 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) ] 127 127 128 128 # if no results above we return whole list of values -
branch/UMPA/umpa/utils/__init__.py
r3128 r3201 20 20 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 21 22 from my_exceptions import UMPAException22 from my_exceptions import * 23 23 24 24 def _pairwise(iterable):
