# HG changeset patch # User lbessard # Date 1219926165 -7200 # Node ID aed21ae6658f2d1a3894d7438b9f9f38db69d4c7 # Parent aae70ef5af6d72582375bee4dfa2e69d34628310 Some instance type test improved diff -r aae70ef5af6d -r aed21ae6658f plugins/canfestival/config_utils.py --- a/plugins/canfestival/config_utils.py Tue Aug 26 15:31:09 2008 +0200 +++ b/plugins/canfestival/config_utils.py Thu Aug 28 14:22:45 2008 +0200 @@ -508,7 +508,7 @@ continue new_index = False - if type(variable) == IntType: + if isinstance(variable, (IntType, LongType)): # If variable is an integer then variable is unexpected self.MasterNode.SetEntry(current_idx + 0x200, subindex, self.TrashVariables[variable]) else: