Browse Source

typo in error message

David Rose 21 years ago
parent
commit
87e38e9ff1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/ffi/FFIOverload.py

+ 1 - 1
direct/src/ffi/FFIOverload.py

@@ -79,7 +79,7 @@ def getTypeName(classTypeDesc, typeDesc):
             return 'types.NoneType'
             return 'types.NoneType'
 
 
         else:
         else:
-            FFIConstants.notify.error("Unknown atomicType: " + typeDesc.atomicType)
+            FFIConstants.notify.error("Unknown atomicType: %s" % (typeDesc.atomicType))
         
         
     # If the type is an enum, we really want to treat it like an int
     # If the type is an enum, we really want to treat it like an int
     # To handle this, the type will have __enum__ in the name
     # To handle this, the type will have __enum__ in the name