From fa0fac2a4e8a2e5c01b8390878289d00dcc17dba Mon Sep 17 00:00:00 2001 From: lberki Date: Wed, 14 Feb 2018 15:12:23 +0100 Subject: Automated rollback of commit 0f9c6ea574918dda094cf5423fa3822112846c30. *** Reason for rollback *** Breaks Kokoro and I accidentally submitted the change without presubmit checks. *** Original change description *** Make __init__.py files creation optional Introduce a new attribute to py_binary and py_test to control whether to create `__init__.py` or not. Fixes https://github.com/bazelbuild/rules_python/issues/55 Closes #4470. PiperOrigin-RevId: 185676592 --- examples/py/bin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/py/bin.py') diff --git a/examples/py/bin.py b/examples/py/bin.py index cdc01c4b65..f4a6666ddd 100644 --- a/examples/py/bin.py +++ b/examples/py/bin.py @@ -1,3 +1,3 @@ -import lib +from examples.py import lib print("Fib(5)=%d" % lib.Fib(5)) -- cgit v1.2.3