From 73f36fc8b76e24d6ea09700cd72dd7a309aae6fa Mon Sep 17 00:00:00 2001 From: holger krekel Date: Wed, 20 Nov 2013 21:04:19 +0100 Subject: [PATCH] fix issue221 - handle importing of namespace-package with no __init__.py properly. (This is a commit after the fix -- the original issue steps for failure cannot be reproduced anymore). --- CHANGELOG | 3 +++ extra/get_issues.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 985681a1b..57177219b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -56,6 +56,9 @@ Unreleased although it's not needed by pytest itself atm. Also fix caching. Fixes issue376. +- fix issue221 - handle importing of namespace-package with no + __init__.py properly. + Changes between 2.4.1 and 2.4.2 ----------------------------------- diff --git a/extra/get_issues.py b/extra/get_issues.py index 5e6ab9a68..6045d49c7 100644 --- a/extra/get_issues.py +++ b/extra/get_issues.py @@ -66,7 +66,8 @@ def report(issues): if __name__ == "__main__": import argparse parser = argparse.ArgumentParser("process bitbucket issues") - parser.add_argument("--refresh", help="invalidate cache, refresh issues") + parser.add_argument("--refresh", action="store_true", + help="invalidate cache, refresh issues") parser.add_argument("--cache", action="store", default="issues.json", help="cache file") args = parser.parse_args()