~ken-pepple/nova/lp718360

« back to all changes in this revision

Viewing changes to nova/crypto.py

  • Committer: Ken Pepple
  • Date: 2011-02-16 05:16:29 UTC
  • Revision ID: ken.pepple@gmail.com-20110216051629-t03t0pkn6cag600l
initialized FLAGS with sys.argv for LOG.debug to work

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
import os
28
28
import shutil
29
29
import struct
 
30
import sys
30
31
import tempfile
31
32
import time
32
33
import utils
41
42
from nova import log as logging
42
43
 
43
44
 
 
45
FLAGS = flags.FLAGS
 
46
FLAGS(sys.argv)
44
47
LOG = logging.getLogger("nova.crypto")
45
 
FLAGS = flags.FLAGS
 
48
 
 
49
 
46
50
flags.DEFINE_string('ca_file', 'cacert.pem', _('Filename of root CA'))
47
51
flags.DEFINE_string('key_file',
48
52
                    os.path.join('private', 'cakey.pem'),