Reformat offlineimap/utils/distro.py
Add some spaces, remove lines,... now format is better (lintian).
This commit is contained in:
parent
5d482a67ff
commit
5a81eccb49
@ -5,7 +5,6 @@
|
||||
import platform
|
||||
import os
|
||||
|
||||
|
||||
# Each dictionary value is either string or some iterable.
|
||||
#
|
||||
# For the former we will just return the value, for an iterable
|
||||
@ -54,6 +53,7 @@ def get_os_name():
|
||||
|
||||
return OS
|
||||
|
||||
|
||||
def get_os_sslcertfile_searchpath():
|
||||
"""Returns search path for CA bundle for the current OS.
|
||||
|
||||
@ -91,8 +91,7 @@ def get_os_sslcertfile():
|
||||
|
||||
for f in l:
|
||||
assert (type(f) == type(""))
|
||||
if os.path.exists(f) and \
|
||||
(os.path.isfile(f) or os.path.islink(f)):
|
||||
if os.path.exists(f) and (os.path.isfile(f) or os.path.islink(f)):
|
||||
return f
|
||||
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user