[openbox] [PATCH] fix "print" syntax for python 3
Jim Rees
rees at umich.edu
Wed Apr 17 08:55:54 EDT 2013
Signed-off-by: Jim Rees <rees at umich.edu>
---
data/autostart/openbox-xdg-autostart | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/data/autostart/openbox-xdg-autostart b/data/autostart/openbox-xdg-autostart
index 04a17a1..6479903 100755
--- a/data/autostart/openbox-xdg-autostart
+++ b/data/autostart/openbox-xdg-autostart
@@ -51,7 +51,7 @@ def main(argv=sys.argv):
try:
autofile = AutostartFile(path)
except ParsingError:
- print "Invalid .desktop file: " + path
+ print ("Invalid .desktop file: " + path)
else:
if not autofile in files:
files.append(autofile)
@@ -146,9 +146,9 @@ class AutostartFile:
def display(self, envs):
if self._shouldRun(envs):
- print "[*] " + self.de.getName()
+ print ("[*] " + self.de.getName())
else:
- print "[ ] " + self.de.getName()
+ print ("[ ] " + self.de.getName())
self._alert("File: " + self.path, info=True)
if self.de.getExec():
self._alert("Executes: " + self.de.getExec(), info=True)
--
1.8.2.1
More information about the openbox
mailing list