Fix Argument Parsing 33/18233/2
authorSai Sindhur Malleni <smalleni@redhat.com>
Tue, 9 Aug 2016 14:26:45 +0000 (10:26 -0400)
committerSai Sindhur Malleni <smalleni@redhat.com>
Wed, 10 Aug 2016 16:53:22 +0000 (12:53 -0400)
commitd826cafd69c9679a29a88a97699756cd408e4ac7
tree185b1a0ddc607a3a45b07354aab5950ea7d0ce1c
parent42d97ed0627db286c1b1de445ba45a4dc3d9079e
Fix Argument Parsing

Not making the option -l and -f causes a traceback when checking if -l is a
valid directory and -f is a valid file as concatenation is attemtped between
string and None type.

Signed-off-by: Sai Sindhur Malleni <smalleni@redhat.com>
Change-Id: If0ae87cde0e43122b3318f9c3749c05639ac3f36
func/cli.py