convert.py now properly ignores paths

This commit is contained in:
Daniel Neuhäuser
2010-05-16 22:24:20 +02:00
parent 315ad84fce
commit e1b7381a94

View File

@@ -24,7 +24,7 @@ def main(argv):
action='append', default=[]) action='append', default=[])
options, args = parser.parse_args(argv) options, args = parser.parse_args(argv)
ignored_paths = set(options.ignored_paths) ignored_paths = {os.path.abspath(p) for p in options.ignored_paths}
path = os.path.abspath(args[0]) if args else os.getcwd() path = os.path.abspath(args[0]) if args else os.getcwd()
convertables = [] convertables = []