mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
Removeed some useless imports.
This commit is contained in:
parent
fe55f17cbf
commit
810a051923
@ -410,10 +410,6 @@ __builtins__['sorted'] = sorted
|
|||||||
|
|
||||||
def mktemp(suffix=''):
|
def mktemp(suffix=''):
|
||||||
"""Gives a decent random string, suitable for a filename."""
|
"""Gives a decent random string, suitable for a filename."""
|
||||||
import sha
|
|
||||||
import md5
|
|
||||||
import time
|
|
||||||
import random
|
|
||||||
r = random.Random()
|
r = random.Random()
|
||||||
m = md5.md5(suffix)
|
m = md5.md5(suffix)
|
||||||
r.seed(time.time())
|
r.seed(time.time())
|
||||||
|
Loading…
Reference in New Issue
Block a user