4823: Fix bugs, fix tests, existing tests pass again. Still need to write new tests.
[arvados.git] / sdk / python / bin / arv-normalize
index 0506381272c856bbc4e1b933aef6f474752d3667..b84910ef7efb582b38105e7293ccf0384c1c36d2 100755 (executable)
@@ -6,9 +6,6 @@ import os
 import re
 import string
 import sys
-import logging
-
-logger = logging.getLogger(os.path.basename(sys.argv[0]))
 
 parser = argparse.ArgumentParser(
     description='Read manifest on standard input and put normalized manifest on standard output.')
@@ -23,6 +20,7 @@ import arvados
 r = sys.stdin.read()
 
 cr = arvados.CollectionReader(r)
+cr.normalize()
 
 if args.extract:
     i = args.extract.rfind('/')