summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceEc2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/DataSourceEc2.py')
-rw-r--r--cloudinit/DataSourceEc2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/DataSourceEc2.py b/cloudinit/DataSourceEc2.py
index 54cbc69c..30bbb9fc 100644
--- a/cloudinit/DataSourceEc2.py
+++ b/cloudinit/DataSourceEc2.py
@@ -164,4 +164,4 @@ class DataSourceEc2(DataSource.DataSource):
if os.path.exists(cand):
cloudinit.log.debug("remapped device name %s => %s" % (found,cand))
return(cand)
- return None
+ return ofound