- 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
This commit is contained in:
lxnay
2009-01-26 09:17:30 +00:00
parent 76367c132b
commit a63c1265f6
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -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)
raise SystemExit(1)
+1
View File
@@ -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
+1 -1
View File
@@ -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+"'\""