emirozer/fake2db — pull request #10 by rgfoley (2014-12-25 04:50:45+00:00)
Title: Slightly optimized argument check

By adding the else statement, "if not args.rows or not args.db" will effectively eliminate the need for rechecking args.rows and args.db separately.

Original:
if not args.rows or not args.db:

if args.rows:
if args.db:

Changed to:
if not args.rows or not args.db:

else: