Ignore:
Timestamp:
09/02/08 21:07:03 (12 years ago)
Author:
astephen
Message:

Tidied some variable names and boolean types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/na_file/na_core.py

    r3330 r3349  
    4545        Returns a dictionary of the contents of a NASA Ames file. 
    4646        """ 
    47         na_dict = {} 
     47        dct = {} 
    4848        for key in NACore.na_dictionary_keys: 
    49             na_dict[key] = getattr(self, key) 
    50  
    51         self.naDict={} 
    52         for i in na_dict.keys(): 
    53             if na_dict[i] != None: 
    54                 self.naDict[i] = na_dict[i] 
    55         return self.naDict 
     49            dct[key] = getattr(self, key) 
     50 
     51        self.na_dict={} 
     52        for i in dct.keys(): 
     53            if dct[i] != None: 
     54                self.na_dict[i] = dct[i] 
     55        return self.na_dict 
    5656 
    5757    def __getitem__(self, item): 
Note: See TracChangeset for help on using the changeset viewer.