X-Git-Url: https://git.korewanetadesu.com/?p=python-collate.git;a=blobdiff_plain;f=pycollate;h=4748b4b67e34a77f945e45109cc80950a8c020bb;hp=ec7f9f918639d7045d0e21cecc32a7542ed56621;hb=7644110ce07ec8a78003ee7db9dcdfe5cbca3854;hpb=55e8d3e84b06336ab6c2d8b18958b5e3e6efa284 diff --git a/pycollate b/pycollate index ec7f9f9..4748b4b 100755 --- a/pycollate +++ b/pycollate @@ -33,7 +33,7 @@ def main(argv): if options.backend or options.locale or options.encoding: backend = getattr(collate, options.backend) - collate.set_default(backend, options.locale, options.encoding) + collate.set_collator(backend, options.locale, options.encoding) if options.diagnostics: print >>sys.stderr, "Backend: " + collate.default.__name__