Changeset 7966


Ignore:
Timestamp:
13/10/11 10:39:33 (8 years ago)
Author:
astephen
Message:

Change "if var != None" to "if var is not None" because former gave error. Not sure why.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/nc_interface/cdms_to_na.py

    r5905 r7966  
    173173     
    174174        vars = [] 
     175 
    175176        # Clear any None values in ordered_vars and place in final vars list 
    176177        for var in ordered_vars + unordered_vars: 
    177             if var != None: vars.append(var) 
     178            if var is not None: vars.append(var) 
    178179             
    179180        return vars 
Note: See TracChangeset for help on using the changeset viewer.