[pypy-commit] pypy fix-package-py: fix minor bug in package.py
dcrosta
noreply at buildbot.pypy.org
Mon Aug 11 15:25:01 CEST 2014
Author: Dan Crosta <dcrosta at late.am>
Branch: fix-package-py
Changeset: r72750:fdc893a448eb
Date: 2014-08-01 17:32 -0400
http://bitbucket.org/pypy/pypy/changeset/fdc893a448eb/
Log: 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