Commit 8ac5aec5 authored by Dan Crosta's avatar Dan Crosta

fix minor bug in package.py

parent 9a1ac7a4
......@@ -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
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment