From 9ca4a2530cf8ed0e4c96247c230d388aae9b9267 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Tue, 3 May 2011 12:08:10 +0200 Subject: [PATCH] filename is not a required argument --- weboob/applications/pastoob/pastoob.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/weboob/applications/pastoob/pastoob.py b/weboob/applications/pastoob/pastoob.py index b352a1a2..8d438139 100644 --- a/weboob/applications/pastoob/pastoob.py +++ b/weboob/applications/pastoob/pastoob.py @@ -75,10 +75,6 @@ class Pastoob(ReplApplication): Submit a new paste. The filename can be '-' for reading standard input (pipe). """ - if not filename: - print >>sys.stderr, 'This command takes an argument: %s' % self.get_command_help('post', short=True) - return 1 - if filename is None or filename == '-': contents = sys.stdin.read() else: