Commit 9b9a3140 authored by Armin Rigo's avatar Armin Rigo

Merged in dcrosta/pypy/fix-package-py (pull request #260)

fix minor bug in
parents 714e6bed 8ac5aec5
......@@ -74,7 +74,7 @@ def generate_license_linux(basedir, options):
dirs = glob.glob(options.license_base + "/" +pat)
if not dirs:
raise ValueError, "Could not find "+ options.license_base + "/" + pat
if len(dirs) > 2:
if len(dirs) > 1:
raise ValueError, "Multiple copies of "+pat
dir = dirs[0]
with open(os.path.join(dir, fname)) as fid:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment