diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-05-27 14:27:50 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-05-27 14:27:50 -0400 |
commit | 8a148ed934156c63a76a28c9d3a33278e52d71d1 (patch) | |
tree | 874a9b5dc7d4dde801f535564f0d5b042fd00f12 /cloudinit/sources/DataSourceSmartOS.py | |
parent | e6e768769d67960cde12dee0b0c2b58deb2eb376 (diff) | |
download | vyos-cloud-init-8a148ed934156c63a76a28c9d3a33278e52d71d1.tar.gz vyos-cloud-init-8a148ed934156c63a76a28c9d3a33278e52d71d1.zip |
fix the remaining tests
Diffstat (limited to 'cloudinit/sources/DataSourceSmartOS.py')
-rw-r--r-- | cloudinit/sources/DataSourceSmartOS.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/sources/DataSourceSmartOS.py b/cloudinit/sources/DataSourceSmartOS.py index e64dea68..e9ff1235 100644 --- a/cloudinit/sources/DataSourceSmartOS.py +++ b/cloudinit/sources/DataSourceSmartOS.py @@ -332,11 +332,11 @@ class JoyentMetadataClient(object): r' (?P<body>(?P<request_id>[0-9a-f]+) (?P<status>SUCCESS|NOTFOUND)' r'( (?P<payload>.+))?)') - def __init__(self, smartos_type=None): + def __init__(self, smartos_type=None, fp=None): if smartos_type is None: smartos_type = get_smartos_environ() self.smartos_type = smartos_type - self.fp = None + self.fp = fp def _checksum(self, body): return '{0:08x}'.format( |