diff options
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r-- | Lib/imaplib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 3c45b2e4..28f62f4 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -12,7 +12,7 @@ Public functions: Internaldate2tuple Time2Internaldate """ -import re, socket, string, time, whrandom +import re, socket, string, time, random # Globals @@ -109,7 +109,7 @@ class IMAP4: # Create unique tag for this session, # and compile tagged response matcher. - self.tagpre = Int2AP(whrandom.random()*32000) + self.tagpre = Int2AP(random.random()*32000) self.tagre = re.compile(r'(?P<tag>' + self.tagpre + r'\d+) (?P<type>[A-Z]+) (?P<data>.*)') |