Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

setup.py has invalid syntax when using underscore 1.7.0 #2

Open
stuartf opened this issue Sep 24, 2014 · 1 comment
Open

setup.py has invalid syntax when using underscore 1.7.0 #2

stuartf opened this issue Sep 24, 2014 · 1 comment

Comments

@stuartf
Copy link

stuartf commented Sep 24, 2014

[slapchop] Complete
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/fabric/main.py", line 743, in main
    *args, **kwargs
  File "/usr/lib/python2.7/dist-packages/fabric/tasks.py", line 405, in execute
    results['<local-only>'] = task.run(*args, **new_kwargs)
  File "/usr/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
    return self.wrapped(*args, **kwargs)
  File "/home/stuart/src/oae-provisioning/fabfile/__init__.py", line 16, in ulous
    slapchop.fabric_setup(environment=environment)
  File "/usr/lib/python2.7/dist-packages/fabric/tasks.py", line 168, in __call__
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
    return self.wrapped(*args, **kwargs)
  File "/home/stuart/src/oae-provisioning/fabfile/slapchop/__init__.py", line 19, in fabric_setup
    setup = imp.load_source('setup', 'fabfile/setup.py')
  File "fabfile/setup.py", line 1
    function (data) {
                    ^
SyntaxError: invalid syntax

#1 works around this by pinning underscore at 1.6.0, but we should fix the actual issue.

@jdalton
Copy link

jdalton commented Sep 27, 2014

Related to jashkenas/underscore#1805.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants