Changeset 4559

Show
Ignore:
Timestamp:
04/22/09 23:40:24 (4 years ago)
Author:
getxsick
Message:

the same: better handle of singleton

Files:
1 modified

Legend:

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

    r4558 r4559  
    7070            self.auto = self.__class__.auto 
    7171 
    72         if bits: 
     72        if bits is not None: 
    7373            self.bits = bits 
    7474        self._value = value 
     
    831831        else: 
    832832            return 0 
    833