Merge pull request #173 from jorix/3505-ignore-space-requires

Build: ignore trailing space in @requires dependencies
This commit is contained in:
Éric Lemoine committed 2012-02-14 07:57:59 -08:00
commit 745400fa74
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ import sys
SUFFIX_JAVASCRIPT = ".js"
RE_REQUIRE = "@requires?:? (.*)\n" # TODO: Ensure in comment?
RE_REQUIRE = "@requires?:?\s+(\S*)\s*\n" # TODO: Ensure in comment?
class MissingImport(Exception):
"""Exception raised when a listed import is not found in the lib."""