Skip to content

khal / khal / caldav.py - line breaks needed in line 310 #27

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

Closed
fred777 opened this issue Mar 25, 2014 · 1 comment
Closed

khal / khal / caldav.py - line breaks needed in line 310 #27

fred777 opened this issue Mar 25, 2014 · 1 comment

Comments

@fred777
Copy link

fred777 commented Mar 25, 2014

I got the following error with latest git master:

Traceback (most recent call last):
  File "/usr/bin/khal", line 59, in <module>
    from khal import khalendar, backend
  File "/usr/lib/python2.7/site-packages/khal/khalendar.py", line 36, in <module>
    from khal import backend, caldav
  File "/usr/lib/python2.7/site-packages/khal/caldav.py", line 310
    if response.status_code == 404: return True else: raise

Line 310 reads

            if response.status_code == 404: return True else:  raise

Inserting line breaks helps:

            if response.status_code == 404: 
                return True 
            else: 
                raise
@geier
Copy link
Member

geier commented Mar 25, 2014

thx, you're right. I don't know how this got in there...

geier added a commit that referenced this issue Mar 25, 2014
linebreaks somehow disappeared, thx to fred777 for pointing this out

should fix github issue #27
@geier geier closed this as completed Mar 25, 2014
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

No branches or pull requests

2 participants