Slightly trim down the warnings list based on some things being pretty common

for local usage.
reviewable/pr18780/r1
Michael DeHaan 10 years ago
parent 9686385898
commit 83f06e4162

@ -125,7 +125,6 @@ def check_command(commandline):
'svn': 'subversion', 'service': 'service', 'svn': 'subversion', 'service': 'service',
'mount': 'mount', 'rpm': 'yum', 'yum': 'yum', 'apt-get': 'apt-get', 'mount': 'mount', 'rpm': 'yum', 'yum': 'yum', 'apt-get': 'apt-get',
'tar': 'unarchive', 'unzip': 'unarchive', 'sed': 'template or lineinfile', 'tar': 'unarchive', 'unzip': 'unarchive', 'sed': 'template or lineinfile',
'echo': 'template or lineinfile', 'cp': 'synchronize or copy',
'rsync': 'synchronize' } 'rsync': 'synchronize' }
warnings = list() warnings = list()
command = os.path.basename(commandline.split()[0]) command = os.path.basename(commandline.split()[0])

Loading…
Cancel
Save