[pypy-commit] pypy default: Merged in dcrosta/pypy/fix-package-py (pull request #260)
arigo
noreply at buildbot.pypy.org
Mon Aug 11 15:25:02 CEST 2014
Author: Armin Rigo <armin.rigo at gmail.com>
Branch:
Changeset: r72751:78232ee06e08
Date: 2014-08-11 15:24 +0200
http://bitbucket.org/pypy/pypy/changeset/78232ee06e08/
Log: Merged in dcrosta/pypy/fix-package-py (pull request #260)
fix minor bug in package.py
diff --git a/pypy/tool/release/package.py b/pypy/tool/release/package.py
--- a/pypy/tool/release/package.py
+++ b/pypy/tool/release/package.py
@@ -74,7 +74,7 @@
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:
More information about the pypy-commit
mailing list