Changeset 928

Show
Ignore:
Timestamp:
09/25/08 10:45:32 (2 months ago)
Author:
sontag
Message:

for ticket #88; cosmetic - remove unneeded spaces

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/iraffunctions.py

    r836 r928  
    189189 
    190190         #stacksize problem on linux 
    191          
     191 
    192192        if arch == 'redhat' or \ 
    193193               arch == 'linux' or \ 
     
    14931493    tfilename = filename 
    14941494    i = tfilename.find('[') 
    1495     if i>=0:  
     1495    if i>=0: 
    14961496        tfilename = filename[:i] 
    14971497    if '*' in tfilename or '?' in tfilename: 
     
    15121512        # 2) non specification of extension # for multi-extension fits files 
    15131513        #    (imaccess doesn't require) 
    1514         # This approach, while adaptable, is brittle in its dependency on  
     1514        # This approach, while adaptable, is brittle in its dependency on 
    15151515        # IRAF error strings 
    15161516        if ((errstr.find('must specify which fits extension') >= 0) or 
     
    26342634 
    26352635    module = irafecl.getTaskModule() 
    2636      
     2636 
    26372637    # handle redirection and save keywords 
    26382638    redirKW, closeFHList = redirProcess(kw) 
     
    29652965    return irafecl._ecl_parent_task().DOLLARerrno 
    29662966 
    2967 errcode = errno   
     2967errcode = errno 
    29682968 
    29692969def errmsg(_save=None): 
     
    33853385    the filehandles for stdin, stdout, stderr and a list of 
    33863386    filehandles to close after execution. 
    3387      
     3387 
    33883388    Image and Stdplot redirection not handled (but it isn't clear that these 
    33893389    are ever used anyway) 
  • trunk/lib/irafpar.py

    r925 r928  
    12671267    """IRAF string parameter class""" 
    12681268    pass 
    1269      
     1269 
    12701270# ----------------------------------------------------- 
    12711271# IRAF string array parameter class 
     
    14731473class IrafParCursor(IrafParL): 
    14741474    """Base class for cursor parameters""" 
    1475      
     1475 
    14761476    def _coerceOneValue(self,value,strict=0): 
    14771477        if isinstance(value,IrafParCursor): 
     
    16001600    """IRAF boolean parameter class""" 
    16011601    pass 
    1602      
     1602 
    16031603# ----------------------------------------------------- 
    16041604# IRAF boolean array parameter class 
    1605 # -----------------------------------------------------  
    1606     
     1605# ----------------------------------------------------- 
     1606 
    16071607class IrafParAB(_BooleanMixin,IrafArrayPar): 
    16081608 
     
    18001800    """IRAF real array parameter class""" 
    18011801    pass 
    1802      
     1802 
    18031803# ----------------------------------------------------- 
    18041804# IRAF parameter list synchronized to disk file 
     
    24122412    if len(flist) <= 0: return 
    24132413 
    2414     # At this point, we have files.  Foreach, figure out the task and  
     2414    # At this point, we have files.  Foreach, figure out the task and 
    24152415    # package it is for, and add it's pathname to the dict. 
    24162416    for supfname in flist: