"Fix" silly pep8 warnings

This commit is contained in:
Martin Tournoij 2015-06-30 12:01:05 +02:00
parent d114e64b05
commit c7cd51a7d5

View File

@ -452,11 +452,14 @@ class DownloadItem(QObject):
if os.path.isfile(self._filename):
# The file already exists, so ask the user if it should be
# overwritten.
self._ask_confirm_question(self._filename + " already exists. Overwrite?")
self._ask_confirm_question(self._filename +
" already exists. Overwrite?")
# FIFO, device node, etc. Make sure we want to do this
elif (os.path.exists(self._filename) and not
os.path.isdir(self._filename)):
self._ask_confirm_question(self._filename + " already exists and is a special file. Write to this?")
self._ask_confirm_question(self._filename +
" already exists and is a special file."
" Write to this?")
else:
self._create_fileobj()