Commit a5005a6d authored by Dan Pascu's avatar Dan Pascu

Use single quotes

parent a349f728
...@@ -867,9 +867,9 @@ class GoogleContactsManager(object): ...@@ -867,9 +867,9 @@ class GoogleContactsManager(object):
self._sync_token = None self._sync_token = None
self.sync_contacts() self.sync_contacts()
return return
log.warning(u"Could not fetch Google contacts: {!s}".format(e)) log.warning(u'Could not fetch Google contacts: {!s}'.format(e))
except (HttpLib2Error, socket.error) as e: except (HttpLib2Error, socket.error) as e:
log.warning(u"Could not fetch Google contacts: {!s}".format(e)) log.warning(u'Could not fetch Google contacts: {!s}'.format(e))
else: else:
added_contacts = [] added_contacts = []
modified_contacts = [] modified_contacts = []
...@@ -927,7 +927,7 @@ class GoogleContactsManager(object): ...@@ -927,7 +927,7 @@ class GoogleContactsManager(object):
unlink(filename) unlink(filename)
os.rename(tempname, filename) os.rename(tempname, filename)
except Exception, e: except Exception, e:
log.error("could not save google contacts: %s" % e) log.error('could not save google contacts: %s' % e)
call_in_gui_thread(self._sync_timer.start) call_in_gui_thread(self._sync_timer.start)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment