Skip to content

Commit dbc601a

Browse files
committed
Merge pull request #2493 from Joshua-Anderson/ioerror-fix
fix(client): _logger doesn't exist for settings
2 parents afa84a1 + ff9f507 commit dbc601a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/deis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ def save(self):
205205
with open(self._path, 'w') as f:
206206
f.write(data)
207207
except IOError:
208-
self._logger.error("Could not write to settings file at '~/.deis/client.json'. \
209-
Do you have the right file permissions?")
208+
logging.getLogger(__name__).error("Could not write to settings file at \
209+
'~/.deis/client.json' Do you have the right file permissions?")
210210
sys.exit(1)
211211
return data
212212

0 commit comments

Comments
 (0)