Fix a bug reported by Noyga.

This commit is contained in:
Eric S. Raymond 2007-05-01 15:59:39 +00:00
parent eb494e7e65
commit 6fd811f6cb

View file

@ -677,8 +677,6 @@ if __name__ == '__main__':
if verbose > 0 and transformed != line:
msg = "%s, line %d: %s -> %s" % \
(filename, lineno+1, line.strip(), transformed.strip())
if not hasdigit(os.path.basename(old)) and hasdigit(new):
msg += " (check manually, alternatives may be better)"
print msg
return transformed