Remove validation logic for the -f switch

We cannot assume this is happening locally.
This commit is contained in:
Ole André Vadla Ravnås
2015-06-07 22:39:21 +02:00
parent 7fd0c962be
commit 0efd212e35
-2
View File
@@ -100,8 +100,6 @@ class ConsoleApplication(object):
target = expand_target(target)
if target[0] == 'file':
argv = target[1]
if not os.path.isfile(argv[0]):
parser.error("%s: file not found" % argv[0])
argv.extend(args)
args = []
self._target = target