From 3fa6e381cbf3f965c6d256cc1d84106be700de64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Onur=20K=C3=BC=C3=A7=C3=BCk?= Date: Sat, 16 Sep 2006 10:29:10 +0000 Subject: [PATCH] =?UTF-8?q?dosya=20yoksa=20a=C4=9Flama?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/lspisi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lspisi b/scripts/lspisi index a2ef278d..ecc621f5 100755 --- a/scripts/lspisi +++ b/scripts/lspisi @@ -50,7 +50,10 @@ def main(): for dir in uniq(dirlist): print "/%s" % dir - + + elif not os.path.exists(sys.argv[1]): + print "File %s not found" % sys.argv[1] + else: for file in show_info(sys.argv[1]): print "/%s" % file