summaryrefslogtreecommitdiff
path: root/morphlib/source.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-06-14 15:30:24 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-06-14 15:30:24 +0100
commit945d85def198d417de3f5436800e7efa3e9a540e (patch)
tree28d38bc9ef225fa6dab896fdc9a15c983638c1f4 /morphlib/source.py
parent6986f4c9c4c64217f762366d8fe34003864d8df2 (diff)
downloadmorph-945d85def198d417de3f5436800e7efa3e9a540e.tar.gz
Remove assert for checking type of argument
It's not Pythonic, and isn't catching any errors anymore. It was useful during a transition period when refactoring things to use the new class for morphologies.
Diffstat (limited to 'morphlib/source.py')
-rw-r--r--morphlib/source.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/morphlib/source.py b/morphlib/source.py
index ff440f0b..41e17e83 100644
--- a/morphlib/source.py
+++ b/morphlib/source.py
@@ -38,7 +38,6 @@ class Source(object):
'''
def __init__(self, repo_name, original_ref, sha1, morphology, filename):
- assert isinstance(morphology, morphlib.morph2.Morphology)
self.repo = None
self.repo_name = repo_name
self.original_ref = original_ref