Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Sep 28, 2019
1 parent 5163b0d commit 0adb8d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dvc/command/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@ def run(self):
pbar=pbar,
)

except DvcException as e:
logger.exception("{}:{}".format(type(e).__name__, e))
except DvcException as err:
logger.exception("{}:{}".format(type(err).__name__, err))
return 1
return 0


def add_parser(subparsers, parent_parser):
ADD_HELP = "Add data files or directories to DVC control."
add_help = "Add data files or directories to DVC control."

add_parser = subparsers.add_parser(
"add",
parents=[parent_parser],
description=append_doc_link(ADD_HELP, "add"),
help=ADD_HELP,
description=append_doc_link(add_help, "add"),
help=add_help,
formatter_class=argparse.RawDescriptionHelpFormatter,
)
add_parser.add_argument(
Expand Down

0 comments on commit 0adb8d3

Please sign in to comment.