Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for lint #186

Merged
merged 2 commits into from
Jul 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions dictknife/cliutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ def traceback_shortly(debug):
raise
else:
print(
"\x1b[33m\x1b[1m{e.__class__.__name__}: {e}\x1b[0m".format(
e=e, file=sys.stderr
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙀

)
"\x1b[33m\x1b[1m{e.__class__.__name__}: {e}\x1b[0m".format(e=e),
file=sys.stderr,
)
sys.exit(1)
1 change: 0 additions & 1 deletion examples/dictknife/cat/dst/03people.ng.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
"name","age"
"foo","20"
ValueError: dict contains fields not in fieldnames: 'nickname'
1 change: 0 additions & 1 deletion examples/swaggerknife/merge/dst/02conflicted.error
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
RuntimeError: db is already existed, (where=src/db.json and src/conflicted/db.json)