Remove a few spaces for pep8 conformance
This commit is contained in:
parent
ce87353cd4
commit
1b65044223
@ -72,7 +72,7 @@ def _fs2unicode(s):
|
|||||||
return s.decode(_fs_encoding)
|
return s.decode(_fs_encoding)
|
||||||
|
|
||||||
|
|
||||||
def main(argv=None, opt_defaults = None):
|
def main(argv=None, opt_defaults=None):
|
||||||
if argv is None:
|
if argv is None:
|
||||||
argv = sys.argv[1:]
|
argv = sys.argv[1:]
|
||||||
|
|
||||||
@ -261,7 +261,7 @@ def win32_portable_main(argv=None):
|
|||||||
# python interpreter
|
# python interpreter
|
||||||
portable_dir = os.path.dirname(os.path.abspath(sys.executable))
|
portable_dir = os.path.dirname(os.path.abspath(sys.executable))
|
||||||
try:
|
try:
|
||||||
fd, test_file = tempfile.mkstemp(dir = portable_dir)
|
fd, test_file = tempfile.mkstemp(dir=portable_dir)
|
||||||
except OSError:
|
except OSError:
|
||||||
portable_dir_writeable = False
|
portable_dir_writeable = False
|
||||||
else:
|
else:
|
||||||
@ -291,7 +291,7 @@ def win32_portable_main(argv=None):
|
|||||||
default_settings = os.path.join(buf.value, "openslides",
|
default_settings = os.path.join(buf.value, "openslides",
|
||||||
"openslides_personal_settings.py")
|
"openslides_personal_settings.py")
|
||||||
|
|
||||||
main(argv, opt_defaults = { "settings": default_settings })
|
main(argv, opt_defaults={ "settings": default_settings })
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user