diff --git a/CHANGELOG.md b/CHANGELOG.md index bcb914e..2805715 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### v3.9.x - [Unreleased] +#### Added + +- Backported Nano editor package for Debian/Ubuntu/Raspbian (which support syntax highlighting with `--nanorc`) + #### Changed - Improved WordOps performance by removing useless imports in `wo site` code diff --git a/wo/cli/plugins/site.py b/wo/cli/plugins/site.py index 61463a2..5f5c7e9 100644 --- a/wo/cli/plugins/site.py +++ b/wo/cli/plugins/site.py @@ -203,7 +203,6 @@ class WOSiteController(CementBaseController): # TODO Write code for wo site edit command here pargs.site_name = pargs.site_name.strip() wo_domain = WODomain.validate(self, pargs.site_name) - wo_www_domain = "www.{0}".format(wo_domain) if not check_domain_exists(self, wo_domain): Log.error(self, "site {0} does not exist".format(wo_domain)) @@ -276,12 +275,9 @@ class WOSiteEditController(CementBaseController): pargs.site_name = pargs.site_name.strip() wo_domain = WODomain.validate(self, pargs.site_name) - wo_www_domain = "www.{0}".format(wo_domain) if not check_domain_exists(self, wo_domain): Log.error(self, "site {0} does not exist".format(wo_domain)) - wo_site_webroot = WOVar.wo_webroot + wo_domain - if os.path.isfile('/etc/nginx/sites-available/{0}' .format(wo_domain)): try: @@ -341,7 +337,6 @@ class WOSiteDeleteController(CementBaseController): pargs.site_name = pargs.site_name.strip() wo_domain = WODomain.validate(self, pargs.site_name) - wo_www_domain = "www.{0}".format(wo_domain) wo_db_name = '' wo_prompt = '' wo_nginx_prompt = ''