cctool

A tool for managing contacts and calendars.
git clone https://git.ce9e.org/cctool.git

commit
15aadeece33894d3c1d0f82823cc0d8e5f09c43f
parent
0e1a86331ac27444b0dec45ab491ddc98203fe1d
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2016-06-17 07:04
pep8

Diffstat

M cctool.py 4 ++--

1 files changed, 2 insertions, 2 deletions


diff --git a/cctool.py b/cctool.py

@@ -110,8 +110,8 @@ class MultiDict(OrderedDict):
  110   110 	"""Dict subclass with multiple values for each key."""
  111   111 
  112   112 	def __contains__(self, key):
  113    -1 		return (super(MultiDict, self).__contains__(key)
  114    -1 			and super(MultiDict, self).__getitem__(key) != [])
   -1   113 		return (super(MultiDict, self).__contains__(key) and
   -1   114 			super(MultiDict, self).__getitem__(key) != [])
  115   115 
  116   116 	def __getitem__(self, key):
  117   117 		if key in self: