Changeset 1435 for trunk


Ignore:
Timestamp:
08/28/08 13:56:32 (16 years ago)
Author:
Malte Marquarding
Message:

optionally suppress history

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r1402 r1435  
    3939            Scantable.__init__(self, filename)
    4040        else:
    41             if isinstance(filename, str):
     41            if isinstance(filename, str):# or \
     42#                (isinstance(filename, list) or isinstance(filename, tuple)) \
     43#                  and isinstance(filename[-1], str):
    4244                import os.path
    4345                filename = os.path.expandvars(filename)
     
    16661668
    16671669    def _add_history(self, funcname, parameters):
     1670        if not rcParams['scantable.history']:
     1671            return
    16681672        # create date
    16691673        sep = "##"
Note: See TracChangeset for help on using the changeset viewer.