X-Git-Url: https://git.phdru.name/?p=extfs.d.git;a=blobdiff_plain;f=dummy;h=4b0041c0dd038253ad42e53baa796022d35afdaf;hp=0f771d1470912545aec4f9d93b517ce25989b643;hb=c5c4da7de52a81e0a4a58ad2753d379d6bb0c4c5;hpb=c28275505422c2295f23a3c62c7df522a7b446cc diff --git a/dummy b/dummy index 0f771d1..4b0041c 100755 --- a/dummy +++ b/dummy @@ -1,19 +1,10 @@ -#! /usr/local/bin/python -O +#! /usr/bin/env python +"""Dummy VFS for Midnight Commander. Just for a test.""" -""" -Dummy VFS for Midnight Commander. Just for a test. - -Author: Oleg BroytMann . -Copyright (C) 2004 PhiloSoft Design. -License: GPL. - -""" - -__version__ = "1.0.1" -__revision__ = "$Id: dummy,v 1.8 2004/06/13 20:45:17 phd Exp $" -__date__ = "$Date: 2004/06/13 20:45:17 $"[7:-2] -__author__ = "Oleg Broytmann " -__copyright__ = "Copyright (C) 2004 PhiloSoft Design" +__version__ = "1.0.2" +__author__ = "Oleg Broytman " +__copyright__ = "Copyright (C) 2004-2012 PhiloSoft Design" +__license__ = "GPL" import sys @@ -50,8 +41,8 @@ def mcdummy_copyout(): real_filename = sys.argv[4] real_file = open(real_filename, 'a') - real_file.write("Copied from %s\n" % dummy_filename) - real_file.write("Copied to %s\n" % real_filename) + real_file.write("Copy from %s\n" % dummy_filename) + real_file.write("Copy to %s\n" % real_filename) real_file.close() @@ -62,8 +53,8 @@ def mcdummy_copyin(): real_filename = sys.argv[4] real_file = open(real_filename + "-dummy.tmp", 'a') - real_file.write("Copied from %s\n" % real_filename) - real_file.write("Copied to %s\n" % dummy_filename) + real_file.write("Copy from %s\n" % real_filename) + real_file.write("Copy to %s\n" % dummy_filename) real_file.close()