Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tatype.py
diff options
context:
space:
mode:
authorMarion <marion.zepf@gmail.com>2013-09-16 15:37:43 (GMT)
committer Marion <marion.zepf@gmail.com>2013-09-16 15:37:43 (GMT)
commit32dc3dc0eb910223c33b0b57e76ec9aa5c6899f8 (patch)
treefacd1c119217b04d4bf97cecb140394a78b8c6ce /TurtleArt/tatype.py
parent5164a35bd525279f411430526e7df25b68c11be0 (diff)
clean up taprimitive and tatype
Diffstat (limited to 'TurtleArt/tatype.py')
-rw-r--r--TurtleArt/tatype.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/TurtleArt/tatype.py b/TurtleArt/tatype.py
index 46c5921..78cbcc3 100644
--- a/TurtleArt/tatype.py
+++ b/TurtleArt/tatype.py
@@ -21,7 +21,6 @@
""" type system for Primitives and their arguments """
import ast
-from gettext import gettext as _
from tablock import Media
from taconstants import (Color, CONSTANTS)
@@ -43,8 +42,7 @@ class Type(object):
if other is None:
return False
if not isinstance(other, Type):
- raise TypeError("cannot compare Type to object of type " +
- repr(type(other)))
+ return False
return self.value == other.value
def __str__(self):