From a63c1265f64c68f09b4eaba3b7031faed43536d2 Mon Sep 17 00:00:00 2001 From: lxnay Date: Mon, 26 Jan 2009 09:17:30 +0000 Subject: [PATCH] Entropy: - append -O to python interpreter args for equo and spritz git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2940 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- client/equo.py | 4 ++-- libraries/entropy.py | 1 + spritz/misc/spritz | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/client/equo.py b/client/equo.py index cbf44ec19..82fbc598e 100644 --- a/client/equo.py +++ b/client/equo.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python -O ''' # DESCRIPTION: # Entropy Package Manager client @@ -742,4 +742,4 @@ except: print_error(darkred(_("Ugh. Cannot send the report. I saved the error to /tmp/equoerror.txt. When you want, mail the file to lxnay@sabayonlinux.org."))) raise SystemExit(4) -raise SystemExit(1) \ No newline at end of file +raise SystemExit(1) diff --git a/libraries/entropy.py b/libraries/entropy.py index 65262eb2c..418380059 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -4890,6 +4890,7 @@ class PackageInterface: ) # copy files over - install + # use fork? (in this case all the changed structures need to be pushed back) rc = self.__move_image_to_system() if rc != 0: return rc diff --git a/spritz/misc/spritz b/spritz/misc/spritz index 1372f1262..4148ecf54 100755 --- a/spritz/misc/spritz +++ b/spritz/misc/spritz @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python -O import sys, os spritz_path = " python /usr/lib/entropy/spritz/spritz.py" su_cmd = "xterm -e \"su -c '"+spritz_path+"'\""