Remove superfluous assertion for a cleaner inheritance scheme (II)

parent 9e1cf4c8
......@@ -28,7 +28,6 @@ from __future__ import absolute_import
import os
import logging
from .module import Module
from .util import path as path_mod
from .dep_file import DepFile, File
import six
......@@ -43,7 +42,6 @@ class SourceFile(DepFile):
def __init__(self, path, module, library):
assert isinstance(path, six.string_types)
assert isinstance(module, Module)
self.library = library
if not library:
self.library = "work"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment