From ca332a3fef2f0b121c7f3d572643ea82909fccf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Thu, 9 May 2013 22:46:08 +0200 Subject: [PATCH] Minor fix to the generate-exports.py script Now that we correctly export the ol.animation.*, ol.easing.* and ol.coordinate.* symbols we can make the generate-exports.py script work for more cases. --- bin/generate-exports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/generate-exports.py b/bin/generate-exports.py index e2f0eca521..2ae2cd8475 100755 --- a/bin/generate-exports.py +++ b/bin/generate-exports.py @@ -278,7 +278,7 @@ def main(argv): components = m.group('name').split('.') if re.match(r'[A-Z]', components[-1]): requires.add(name) - elif len(components) > 2: + elif len(components) > 1: requires.add('.'.join(components[:-1])) continue raise RuntimeError(line)