summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2013-11-20 21:04:19 +0100
committerholger krekel <holger@merlinux.eu>2013-11-20 21:04:19 +0100
commit73f36fc8b76e24d6ea09700cd72dd7a309aae6fa (patch)
tree4331258c3a9db1ab9b54856f3f2966a8b6476bde /extra
parentbd8a2cc18c1898673665023556e73134e78e4d75 (diff)
downloadpytest-73f36fc8b76e24d6ea09700cd72dd7a309aae6fa.tar.gz
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).
Diffstat (limited to 'extra')
-rw-r--r--extra/get_issues.py3
1 files changed, 2 insertions, 1 deletions
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()