Skip to content

Commit

Permalink
pep8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
geier committed Jan 29, 2014
1 parent ef5fba6 commit 36b4ca7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
6 changes: 2 additions & 4 deletions pycarddav/controllers/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@
from pycarddav import carddav
from pycarddav import backend

from os import path

import logging

__all__ = [ 'sync' ]
__all__ = ['sync']


def sync(conf):
"""this should probably be seperated from the class definitions"""
Expand Down Expand Up @@ -117,4 +116,3 @@ def sync(conf):
delete = set([href for href, account in r_href_account_list]).difference(abook.keys())
for href in delete:
my_dbtool.delete_vcard_from_db(href, conf.account.name)

15 changes: 6 additions & 9 deletions pycarddav/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,12 @@

from __future__ import print_function

try:
import base64
import sys
import vobject
from collections import defaultdict

except ImportError, error:
print(error)
sys.exit(1)
import base64
import logging
import sys
from collections import defaultdict

import vobject


def list_clean(string):
Expand Down

0 comments on commit 36b4ca7

Please sign in to comment.