Skip to content
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
2 changes: 1 addition & 1 deletion ckanapi/cli/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def batch_actions(ckan, arguments,

log = None
if arguments['--log']:
log = open(arguments['--log'], 'a')
log = open(arguments['--log'], 'ab')

jsonl_input = stdin
if arguments['--input']:
Expand Down
2 changes: 1 addition & 1 deletion ckanapi/cli/delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def delete_things(ckan, thing, arguments,

log = None
if arguments['--log']:
log = open(arguments['--log'], 'a')
log = open(arguments['--log'], 'ab')

jsonl_input = stdin
if arguments['--input']:
Expand Down
2 changes: 1 addition & 1 deletion ckanapi/cli/dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def dump_things(ckan, thing, arguments,

log = None
if arguments['--log']:
log = open(arguments['--log'], 'a')
log = open(arguments['--log'], 'ab')

jsonl_output = stdout
if arguments['--datapackages']: # TODO: do we want to just divert this to devnull?
Expand Down
2 changes: 1 addition & 1 deletion ckanapi/cli/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def load_things(ckan, thing, arguments,

log = None
if arguments['--log']:
log = open(arguments['--log'], 'a')
log = open(arguments['--log'], 'ab')

jsonl_input = stdin
if arguments['--input']:
Expand Down