Fix PEP Issues

This commit is contained in:
BJ Dierkes 2016-02-26 15:44:25 -06:00
parent f9e56620df
commit 8e2fb913a5
3 changed files with 5 additions and 3 deletions

View File

@ -28,7 +28,9 @@ development will happen as 2.9.x under the git master branch.
Bugs:
* None
* :issue:`346` - AttributeError: 'module' object has no attribute 'SIGHUP'
on Windows
Features:

View File

@ -17,13 +17,13 @@ from ..utils import fs
if sys.version_info[0] >= 3:
from imp import reload # pragma: nocover
LOG = minimal_logger(__name__)
if platform.system() == 'Windows':
SIGNALS = [signal.SIGTERM, signal.SIGINT]
else:
SIGNALS = [signal.SIGTERM, signal.SIGINT, signal.SIGHUP]
def add_handler_override_options(app):
"""
This is a ``post_setup`` hook that adds the handler override options to

View File

@ -46,7 +46,7 @@ class CementDevtoolsController(ArgparseController):
# make sure we don't have any un-added files
print('Checking for Untracked Files')
out, err, res = shell.exec_cmd(['git', 'status'])
if re.match('Untracked files', str(out):
if re.match('Untracked files', str(out)):
self._do_error('There are untracked files. See `git status`.')
# make sure there isn't an existing tag