Ignore:
Timestamp:
03/30/06 17:27:42 (18 years ago)
Author:
mar637
Message:

Fixed Ticket #6 (selector.set_polarisations error)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/selector.py

    r952 r954  
    3737
    3838        """
    39         vec = _to_list(pols, str) and _to_list(pols, int)
     39        vec = _to_list(pols, str) or _to_list(pols, int)
    4040        if vec: # is an empty and/or valid vector
    4141            if len(vec) and isinstance(vec[-1],str):
    42                 self._setpolstrings(self, vec)
     42                self._setpolstrings(vec)
    4343                return
    4444            self._setpols(vec)
Note: See TracChangeset for help on using the changeset viewer.