Remove extraneous doc message

main
Fabien Benureau 9 years ago
parent b2ebc67f5e
commit b6e8139bc3

@ -134,13 +134,13 @@ def command(conf, args):
try:
rp.push_paper(p)
ui.message('added to pubs:\n{}'.format(pretty.paper_oneliner(p)))
if docfile is not None:
rp.push_doc(p.citekey, docfile, copy=copy or args.move)
if copy:
if move:
content.remove_file(docfile)
ui.message('added to pubs:\n{}'.format(pretty.paper_oneliner(p)))
if copy:
if move:
ui.message('{} was moved to the pubs repository.'.format(docfile))

Loading…
Cancel
Save