Browse Source

fix typos

David Rose 24 years ago
parent
commit
a45633710c

+ 1 - 1
direct/src/extensions/Datagram-extensions.py

@@ -54,5 +54,5 @@
                 self.addUint32(int(i[0]*divisor))
                 self.addUint32(int(i[0]*divisor))
                 self.addUint8(int(i[1]*divisor))
                 self.addUint8(int(i[1]*divisor))
         else:
         else:
-            raise Exception("Error: No such type as: " + subatomicType)
+            raise Exception("Error: No such type as: " + str(subatomicType))
         return None
         return None

+ 1 - 1
direct/src/extensions/DatagramIterator-extensions.py

@@ -127,7 +127,7 @@
                     b = self.getUint8()
                     b = self.getUint8()
                     retVal.append((a / float(divisor), b / float(divisor)))
                     retVal.append((a / float(divisor), b / float(divisor)))
             else:
             else:
-                raise Exception("Error: No such type as: " + str(subAtomicType))
+                raise Exception("Error: No such type as: " + str(subatomicType))