Drop duplicate -mandoc arg to groff.

git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1802 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
Ville Skyttä 2010-08-19 14:32:06 +00:00
parent de156684bc
commit f3e863691a
1 changed files with 1 additions and 1 deletions

View File

@ -717,7 +717,7 @@ class FilesCheck(AbstractCheck.AbstractCheck):
cmd = commands.getstatusoutput(
'env LC_ALL=C %s "%s" | gtbl | '
'env LC_ALL=en_US.UTF-8 groff -mtty-char -Tutf8 '
'-P-c -mandoc -mandoc -wmac >/dev/null' %
'-P-c -mandoc -wmac >/dev/null' %
(catcmd(f), pkgfile.path))
for line in cmd[1].split("\n"):
res = man_warn_regex.search(line)