Browse Source

minor changes

bugfixes
harshadyeola 10 years ago
parent
commit
407cf65b9d
  1. 2
      ee/cli/plugins/site.py
  2. 1
      ee/core/logging.py

2
ee/cli/plugins/site.py

@ -535,7 +535,7 @@ class EESiteUpdateController(CementBaseController):
updatewpuserpassword(self, ee_domain, ee_site_webroot)
except SiteError as e:
Log.debug(self, str(e))
Log.error(self, "Updating WP user password failed")
Log.error(self, "Password Unchanged.")
self.app.close(0)
if ((stype == 'php' and oldsitetype != 'html') or

1
ee/core/logging.py

@ -36,6 +36,7 @@ class Log:
"""
Logs warning into log file
"""
print(Log.WARNING + msg + Log.ENDC)
self.app.log.warn(Log.BOLD + msg + Log.ENDC)
def debug(self, msg):

Loading…
Cancel
Save