folder/LocalStatus.py split the if
This patch splits the if to avoid multiple commands in the same line.
This commit is contained in:
		@@ -230,7 +230,8 @@ class LocalStatusFolder(BaseFolder):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    def savemessagelabels(self, uid, labels, mtime=None):
 | 
					    def savemessagelabels(self, uid, labels, mtime=None):
 | 
				
			||||||
        self.messagelist[uid]['labels'] = labels
 | 
					        self.messagelist[uid]['labels'] = labels
 | 
				
			||||||
        if mtime: self.messagelist[uid]['mtime'] = mtime
 | 
					        if mtime:
 | 
				
			||||||
 | 
					            self.messagelist[uid]['mtime'] = mtime
 | 
				
			||||||
        self.save()
 | 
					        self.save()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def savemessageslabelsbulk(self, labels):
 | 
					    def savemessageslabelsbulk(self, labels):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user