def deconstruct_bitmask( bitmask ):
    """Return a list of all bit positions in bitmask"""
    days = [ d if bitmask & ( 1<<d ) else -1 for d in range( 7 ) ]
    return filter( lambda x : x >= 0, days )