Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for missing "with" under Python 2.5 #2

Merged
merged 1 commit into from
Apr 30, 2012
Merged

Fix for missing "with" under Python 2.5 #2

merged 1 commit into from
Apr 30, 2012

Conversation

vitaliyf
Copy link
Contributor

Fix for this exception under Python 2.5:

Traceback (most recent call last):
  File "/opt/sentry/staging/bin/sentry", line 8, in <module>
    load_entry_point('sentry==4.0.16', 'console_scripts', 'sentry')()
  File "/opt/sentry/staging/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/pkg_resources.py", line 318, in load_entry_point
  File "/opt/sentry/staging/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/pkg_resources.py", line 2221, in load_entry_point
  File "/opt/sentry/staging/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/pkg_resources.py", line 1954, in load
  File "/opt/sentry/staging/lib/python2.5/site-packages/sentry-4.0.16-py2.5.egg/sentry/utils/runner.py", line 9, in <module>
    from logan.runner import run_app
  File "/opt/sentry/staging/lib/python2.5/site-packages/logan-0.2.1-py2.5.egg/logan/runner.py", line 18, in <module>
    from logan.settings import create_default_settings, load_settings, \
  File "/opt/sentry/staging/lib/python2.5/site-packages/logan-0.2.1-py2.5.egg/logan/settings.py", line 29
    with open(filepath, 'w') as fp:
            ^
SyntaxError: invalid syntax

dcramer added a commit that referenced this pull request Apr 30, 2012
Fix for missing "with" under Python 2.5
@dcramer dcramer merged commit ce17670 into dcramer:master Apr 30, 2012
MikeVL pushed a commit to elec/logan that referenced this pull request Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants