folder/Maildir.py split the if
This patch splits the if to avoid multiple commands in the same line.
This commit is contained in:
		@@ -466,7 +466,8 @@ class MaildirFolder(BaseFolder):
 | 
				
			|||||||
        if uid not in self.messagelist:
 | 
					        if uid not in self.messagelist:
 | 
				
			||||||
            raise OfflineImapError("Cannot change unknown Maildir UID %s" % uid,
 | 
					            raise OfflineImapError("Cannot change unknown Maildir UID %s" % uid,
 | 
				
			||||||
                                   OfflineImapError.ERROR.MESSAGE)
 | 
					                                   OfflineImapError.ERROR.MESSAGE)
 | 
				
			||||||
        if uid == new_uid: return
 | 
					        if uid == new_uid:
 | 
				
			||||||
 | 
					            return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        oldfilename = self.messagelist[uid]['filename']
 | 
					        oldfilename = self.messagelist[uid]['filename']
 | 
				
			||||||
        dir_prefix, filename = os.path.split(oldfilename)
 | 
					        dir_prefix, filename = os.path.split(oldfilename)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user