Skip to content

Commit

Permalink
fix default modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jblomer committed May 14, 2014
1 parent fa25d9f commit e532cb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rpath/amiconfig/instancedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ def getUserData(self):
user_data_cache = os.getenv("AMICONFIG_LOCAL_USER_DATA")
if user_data_cache is not None and user_data_cache[0] == '/':
try:
with open(user_data_cache) as f:
return f.read()
return open(user_data_cache).read()
except IOError, e:
pass

Expand Down

0 comments on commit e532cb1

Please sign in to comment.