Commits

Michał Górny committed 5b1886f

No need to expect ParserError in the outer scope any longer.

Comments (0)

Files changed (1)

lib/flaggie/cli.py

 			target_root = os.environ.get('ROOT'))
 	porttree = trees[max(trees)]['porttree']
 
-	try:
-		act = parse_actions(argv[1:], porttree.dbapi, porttree.settings)
-	except ParserError as e:
-		print(e)
-		return 1
-
+	act = parse_actions(argv[1:], porttree.dbapi, porttree.settings)
 	if not act and not cleanup_actions:
 		main([argv[0], '--help'])
 		return 0