Added remoteporteval
This commit is contained in:
		@@ -148,6 +148,13 @@ class IMAPRepository(BaseRepository):
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def getport(self):
 | 
			
		||||
	port = None
 | 
			
		||||
 | 
			
		||||
	if self.config.has_option(self.getsection(), 'remoteporteval'):
 | 
			
		||||
		port = self.getconf('remoteporteval')
 | 
			
		||||
	if port != None:
 | 
			
		||||
		return self.localeval.eval(port)
 | 
			
		||||
 | 
			
		||||
        return self.getconfint('remoteport', None)
 | 
			
		||||
 | 
			
		||||
    def getssl(self):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user