diff options
Diffstat (limited to 'ec2init')
-rw-r--r-- | ec2init/DataSourceEc2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ec2init/DataSourceEc2.py b/ec2init/DataSourceEc2.py index 6bf7f2b5..060d5146 100644 --- a/ec2init/DataSourceEc2.py +++ b/ec2init/DataSourceEc2.py @@ -22,8 +22,8 @@ class DataSourceEc2(DataSource.DataSource): def get_data(self): try: - udf = open(self.cachedir + "/user-data.pkl") - self.userdata_raw = cPickle.load(udf) + udf = open(self.cachedir + "/user-data.raw") + self.userdata_raw = udf.read() udf.close() mdf = open(self.cachedir + "/meta-data.pkl") |