diff --git a/Examples/python/import_packages/Makefile b/Examples/python/import_packages/Makefile index 70683a795..d46e1e098 100644 --- a/Examples/python/import_packages/Makefile +++ b/Examples/python/import_packages/Makefile @@ -39,7 +39,7 @@ static: clean: $(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' python_clean if test "x$(SRCDIR)" != x; then \ - for file in `cd $(SRCDIR) && find . -type f -name __init__.py`; do \ + for file in `cd $(SRCDIR) && find . -type f -name "*.py"`; do \ rm -f "$$file" || exit 1; \ done; \ fi; \