Revision 2035039b snf-cyclades-app/synnefo/api/util.py

b/snf-cyclades-app/synnefo/api/util.py
32 32
# or implied, of GRNET S.A.
33 33

  
34 34
import datetime
35
import dateutil.parser
36 35

  
37 36
from base64 import b64encode
38 37
from datetime import timedelta, tzinfo
39 38
from functools import wraps
40 39
from hashlib import sha256
40
from logging import getLogger
41 41
from random import choice
42 42
from string import digits, lowercase, uppercase
43 43
from time import time
44 44
from traceback import format_exc
45 45
from wsgiref.handlers import format_date_time
46 46

  
47
import dateutil.parser
48

  
47 49
from Crypto.Cipher import AES
48 50

  
49 51
from django.conf import settings
......
57 59
from synnefo.db.models import (Flavor, VirtualMachine, VirtualMachineMetadata,
58 60
                               Network, NetworkInterface)
59 61
from synnefo.plankton.backend import ImageBackend
60
from synnefo.util.log import getLogger
61 62

  
62 63

  
63 64
log = getLogger('synnefo.api')

Also available in: Unified diff