fixed wrong indent

This commit is contained in:
Andreas Preikschat 2011-01-01 22:55:22 +01:00
parent 2693e3dbd9
commit def66c204a
1 changed files with 7 additions and 7 deletions

View File

@ -182,13 +182,13 @@ class ImageMediaItem(MediaManagerItem):
return False
# We have more than one item, but a file is missing.
elif QtGui.QMessageBox.question(self,
translate('ImagePlugin.MediaItem', 'Missing Image'),
unicode(translate('ImagePlugin.MediaItem', 'The image '
'%s no longer exists. Do you want to add the other '
'images anyway?')) % filename,
QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.No |
QtGui.QMessageBox.Yes)) == QtGui.QMessageBox.No:
return False
translate('ImagePlugin.MediaItem', 'Missing Image'),
unicode(translate('ImagePlugin.MediaItem', 'The image %s '
'no longer exists. Do you want to add the other images '
'anyway?')) % filename,
QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.No |
QtGui.QMessageBox.Yes)) == QtGui.QMessageBox.No:
return False
return True
else:
return False