Added remoteporteval
This commit is contained in:
parent
a73b4b3465
commit
dde021ce52
@ -148,6 +148,13 @@ class IMAPRepository(BaseRepository):
|
|||||||
|
|
||||||
|
|
||||||
def getport(self):
|
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)
|
return self.getconfint('remoteport', None)
|
||||||
|
|
||||||
def getssl(self):
|
def getssl(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user