Skip to content

Commit

Permalink
fix(client): _logger doesn't exist for settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Anderson committed Nov 13, 2014
1 parent ba8b375 commit ff9f507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/deis.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ def save(self):
with open(self._path, 'w') as f:
f.write(data)
except IOError:
self._logger.error("Could not write to settings file at '~/.deis/client.json'. \
Do you have the right file permissions?")
logging.getLogger(__name__).error("Could not write to settings file at \
'~/.deis/client.json' Do you have the right file permissions?")
sys.exit(1)
return data

Expand Down

0 comments on commit ff9f507

Please sign in to comment.