From: Oleg Broytman Date: Sun, 13 Jun 2004 10:05:30 +0000 (+0000) Subject: Version 0.1.2. Subdirectory. X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=ecf538471d5e688e1e8b32580d9d17af5d10d8f2;p=extfs.d.git Version 0.1.2. Subdirectory. git-svn-id: file:///home/phd/archive/SVN/mc-extfs/trunk@5 1a6e6372-1aea-0310-bd00-dc960550e1df --- diff --git a/dummy b/dummy index af8a1e9..9f070a5 100755 --- a/dummy +++ b/dummy @@ -9,9 +9,9 @@ License: GPL. """ -__version__ = "0.1.1" -__revision__ = "$Id: dummy,v 1.3 2004/06/12 22:49:16 phd Exp $" -__date__ = "$Date: 2004/06/12 22:49:16 $"[7:-2] +__version__ = "0.1.2" +__revision__ = "$Id: dummy,v 1.4 2004/06/13 10:05:30 phd Exp $" +__date__ = "$Date: 2004/06/13 10:05:30 $"[7:-2] __author__ = "Oleg Broytmann " __copyright__ = "Copyright (C) 2004 PhiloSoft Design" @@ -38,11 +38,13 @@ def mcdummy_list(): # Emit a dummy listing print "-r--r--r-- 1 user group 0 Jun 13 02:20 file0" print "-r--r--r-- 1 user group 1 Jun 13 02:21 file1" - print "-r--r--r-- 1 user group 2 Jun 13 02:22 file2" + print "dr--r--r-- 1 user group 2 Jun 13 02:22 subdir" + print "-r--r--r-- 1 user group 3 Jun 13 02:23 subdir/file3" + print "-r--r--r-- 1 user group 4 Jun 13 02:23 subdir/file4" -command = sys.argv[1] g = globals() +command = sys.argv[1] procname = "mcdummy_" + command if not g.has_key(procname):