~smoser/cloud-init/lp-1077700

« back to all changes in this revision

Viewing changes to cloudinit/DataSourceEc2.py

  • Committer: Scott Moser
  • Date: 2010-02-03 23:09:48 UTC
  • Revision ID: smoser@ubuntu.com-20100203230948-hkm26maudqkiw7xw
globally remove ec2init and rename to cloudinit

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
import DataSource
2
2
 
3
 
import ec2init
 
3
import cloudinit
4
4
import socket
5
5
import urllib2
6
6
import time
8
8
 
9
9
class DataSourceEc2(DataSource.DataSource):
10
10
    api_ver  = '2009-04-04'
11
 
    cachedir = ec2init.cachedir + '/ec2'
 
11
    cachedir = cloudinit.cachedir + '/ec2'
12
12
 
13
13
    location_locale_map = { 
14
14
        'us' : 'en_US.UTF-8',