diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-08-26 19:11:01 -0300 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-08-26 19:11:01 -0300 |
commit | cf3ea5411adb12dd1bdc12ec01a17b37d974c7c3 (patch) | |
tree | 52b203175aee472099efb29bb47033b870cc9a8d /service/pixelated/bitmask_libraries | |
parent | 6095a286a0298c10df3b7bfa163f2f5240b580cd (diff) |
refactoring pixelatedMail constructor so we can have 'two' (from_dict and from_leap_mail)
Diffstat (limited to 'service/pixelated/bitmask_libraries')
-rw-r--r-- | service/pixelated/bitmask_libraries/smtp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/pixelated/bitmask_libraries/smtp.py b/service/pixelated/bitmask_libraries/smtp.py index d82c7603..94214e4c 100644 --- a/service/pixelated/bitmask_libraries/smtp.py +++ b/service/pixelated/bitmask_libraries/smtp.py @@ -32,6 +32,7 @@ class LeapSmtp(object): self._smtp_port = None self._smtp_service = None self._twisted_port = 10000 + int(random.random() * 5000) + print "## SMTP port: " + str(self._twisted_port) def smtp_info(self): return ('localhost', LeapSmtp.SMTP_PORT) |