Skip to content

Commit ff9f507

Browse files
fix(client): _logger doesn't exist for settings
1 parent ba8b375 commit ff9f507

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)