g.scripts.update will fail with the following groovy example:
def foo(param1,
param2)
it will work as expected with:
def foo(param1, param2)
Looks like the regex in bulbs/groovy.py may not handle this edge case:
File "/home/deploy/venvs/cpython27/lib/python2.7/site-packages/bulbs/groovy.py", line 192, in add_method
method_signature = self._get_method_signature(method_definition)
File "/home/deploy/venvs/cpython27/lib/python2.7/site-packages/bulbs/groovy.py", line 206, in _get_method_signature
return re.search(pattern,method_definition).group(1).strip()
AttributeError: 'NoneType' object has no attribute 'group'
g.scripts.update will fail with the following groovy example:
def foo(param1, param2)
it will work as expected with:
def foo(param1, param2)
Looks like the regex in bulbs/groovy.py may not handle this edge case:
File "/home/deploy/venvs/cpython27/lib/python2.7/site-packages/bulbs/groovy.py", line 192, in add_method method_signature = self._get_method_signature(method_definition) File "/home/deploy/venvs/cpython27/lib/python2.7/site-packages/bulbs/groovy.py", line 206, in _get_method_signature return re.search(pattern,method_definition).group(1).strip() AttributeError: 'NoneType' object has no attribute 'group'