Mercurial > hg > decoupage
comparison decoupage/create_index.py @ 107:450aff4c97e3
py35 compat
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 31 Mar 2017 17:06:59 -0700 |
parents | bdb9e39abd84 |
children |
comparison
equal
deleted
inserted
replaced
106:1f84c6def8bd | 107:450aff4c97e3 |
---|---|
37 parser.add_argument('-d', '--directory', | 37 parser.add_argument('-d', '--directory', |
38 default=os.getcwd(), | 38 default=os.getcwd(), |
39 help="directory to create index for (current working directory by default)") | 39 help="directory to create index for (current working directory by default)") |
40 options = parser.parse_args(args) | 40 options = parser.parse_args(args) |
41 | 41 |
42 print CreateIndex(options.directory) | 42 print(CreateIndex(options.directory)) |
43 | 43 |
44 | 44 |
45 if __name__ == '__main__': | 45 if __name__ == '__main__': |
46 main() | 46 main() |