Added remoteporteval

This commit is contained in:
Kim Lidström 2013-06-20 11:38:45 +02:00
parent a73b4b3465
commit dde021ce52

View File

@ -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):