[prev in list] [next in list] [prev in thread] [next in thread]
List: klik-devel
Subject: [klik-devel] [klikclient commit] r1261 -
From: codesite-noreply () google ! com
Date: 2008-02-28 8:33:46
Message-ID: 001636417ea5044733c7b5b5e02367c8 () google ! com
[Download RAW message or body]
Author: razielmine
Date: Thu Feb 28 00:32:37 2008
New Revision: 1261
Modified:
trunk/client/trunk/klikclient/bin/klik
Log:
Faster, better, stronger
Modified: trunk/client/trunk/klikclient/bin/klik
==============================================================================
--- trunk/client/trunk/klikclient/bin/klik (original)
+++ trunk/client/trunk/klikclient/bin/klik Thu Feb 28 00:32:37 2008
@@ -214,17 +214,17 @@
integration.sync(args)
elif first_arg == "run":
- # No executable option provided
- cmg = KlikCmg( klik, args[0] )
- if cmg.is_valid_cmg():
+ if os.path.isfile( args[0] ):
+ # No executable option provided
+ cmg = KlikCmg( klik, args[0] )
result, text = cmg.execute(None, args)
- else:
+
+ elif os.path.isfile( args[1] ):
# Executable option provided as argv[0]
cmg = KlikCmg( klik, args[1] )
- if cmg.is_valid_cmg():
- result, text = cmg.execute(args[0], args[1:])
- else:
- raise Exception("main.run")
+ result, text = cmg.execute(args[0], args[1:])
+ else:
+ raise Exception("main.run")
elif first_arg == "jail":
if len(args) > 2:
_______________________________________________
klik-devel mailing list
klik-devel@kde.org
https://mail.kde.org/mailman/listinfo/klik-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic