[prev in list] [next in list] [prev in thread] [next in thread]
List: klik-devel
Subject: [klik-devel] [klikclient commit] r1240 -
From: codesite-noreply () google ! com
Date: 2008-02-26 20:16:02
Message-ID: 001636417c010447155b87da643679d7 () google ! com
[Download RAW message or body]
Author: KillerKiwi2005
Date: Tue Feb 26 12:15:17 2008
New Revision: 1240
Modified:
trunk/client/trunk/klikclient/lib/klik/base.py
trunk/client/trunk/klikclient/lib/klik/execute.py
Log:
Resurrect base.execute_cmg
Modified: trunk/client/trunk/klikclient/lib/klik/base.py
==============================================================================
--- trunk/client/trunk/klikclient/lib/klik/base.py (original)
+++ trunk/client/trunk/klikclient/lib/klik/base.py Tue Feb 26 12:15:17 2008
@@ -394,6 +394,11 @@
# Cleanup temp files
self.clean_up()
+ def execute_cmg(self, command, cmg_path, args):
+ cmg = KlikCmg(self, cmg_path)
+ return cmg.execute(command, args)
+
+
# Private methods
def __download_progress(self, percentage, text):
self.events.on_download_progress( percentage, text )
@@ -452,9 +457,8 @@
print "ERROR extract_file moved to cmg.py"
return
- # MOVE TO cmg.py
- def execute_cmg(self, command, cmg_path, args, capture_error=False,
force_prompt=False ):
- print "ERROR execute_cmg moved to cmg.py"
+
+
# MOVE TO cmg.py
def check_for_missing_library(self, command, cmg_path):
Modified: trunk/client/trunk/klikclient/lib/klik/execute.py
==============================================================================
--- trunk/client/trunk/klikclient/lib/klik/execute.py (original)
+++ trunk/client/trunk/klikclient/lib/klik/execute.py Tue Feb 26
12:15:17 2008
@@ -188,7 +188,7 @@
sys.stderr.write(line)
error_log.write(line)
else:
- p = Popen(args, close_fds=True, env=os.environ, cwd=mount_point_path)
+ p = Popen(args, close_fds=True, env=os.environ, cwd=cmg.mount_point_path)
p.wait()
_______________________________________________
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