Prefix collision guard is now obsolete & wrong
This commit is contained in:
parent
85ba6dbf87
commit
e74b71c369
1 changed files with 0 additions and 7 deletions
|
@ -79,13 +79,6 @@ def _zapp_impl(ctx):
|
||||||
ctx.workspace_name
|
ctx.workspace_name
|
||||||
])
|
])
|
||||||
|
|
||||||
for r0 in import_roots:
|
|
||||||
for r1 in import_roots:
|
|
||||||
if r0 == r1:
|
|
||||||
continue
|
|
||||||
elif r0.startswith(r1):
|
|
||||||
fail("Import root conflict between %s and %s" % r0, r1)
|
|
||||||
|
|
||||||
# Dealing with main
|
# Dealing with main
|
||||||
main_py_file = ctx.files.main
|
main_py_file = ctx.files.main
|
||||||
main_py_ref = ctx.attr.entry_point
|
main_py_ref = ctx.attr.entry_point
|
||||||
|
|
Loading…
Reference in a new issue