Commit 8c0a6dd5 authored by Daniel Stan's avatar Daniel Stan

argument options en trop dans action remove

parent 114d97aa
...@@ -668,7 +668,7 @@ def confirm(options, text): ...@@ -668,7 +668,7 @@ def confirm(options, text):
def remove_file(options): def remove_file(options):
"""Supprime un fichier""" """Supprime un fichier"""
fname = options.fname fname = options.fname
if not confirm(options, u'Êtes-vous sûr de vouloir supprimer %s ?' % (fname,), options): if not confirm(options, u'Êtes-vous sûr de vouloir supprimer %s ?' % (fname,)):
return return
message = rm_file(fname) message = rm_file(fname)
print(message.encode("utf-8")) print(message.encode("utf-8"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment