Changeset 55

Show
Ignore:
Timestamp:
09/02/06 11:20:01 (2 years ago)
Author:
steve
Message:

Change == to *is* in comparison with None, to hopefully fix #13

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/airspeed.py

    r54 r55  
    386386 
    387387    def calculate(self, namespace, loader, global_namespace=None): 
    388         if global_namespace == None: 
     388        if global_namespace is None: 
    389389            global_namespace = namespace 
    390390        value = self.part.calculate(namespace, loader, global_namespace)