[V3] Cleanup quotes in cogs (#1782)

* Cleanup quotes in cogs

* More quote cleanup that I missed

fixed a little bit of grammar here and there as well.

* [V3 Warnings] Change allowcustomreasons docstring

To help not confuse users who would believe that the command would use allow or disallow.

* Run black reformat
This commit is contained in:
Eslyium
2018-06-07 00:42:59 -04:00
committed by Will
parent f830f73ae6
commit 60a72b2ba4
30 changed files with 99 additions and 123 deletions

View File

@@ -116,7 +116,7 @@ class Installable(RepoJSONMixin):
try:
copy_func(src=str(self._location), dst=str(target_dir / self._location.stem))
except:
log.exception("Error occurred when copying path:" " {}".format(self._location))
log.exception("Error occurred when copying path: {}".format(self._location))
return False
return True
@@ -145,9 +145,7 @@ class Installable(RepoJSONMixin):
info = json.load(f)
except json.JSONDecodeError:
info = {}
log.exception(
"Invalid JSON information file at path:" " {}".format(info_file_path)
)
log.exception("Invalid JSON information file at path: {}".format(info_file_path))
else:
self._info = info