[Xfce4-commits] <midori:master> Use old Python decorator syntax to support old Python versions
Christian Dywan
noreply at xfce.org
Fri Oct 30 22:46:04 CET 2009
Updating branch refs/heads/master
to a712d0ea7a27176e90def2a290a8c526b3af8d65 (commit)
from 133c03b08bc3c61a820b7b389fd6c7fa1ce54691 (commit)
commit a712d0ea7a27176e90def2a290a8c526b3af8d65
Author: Christian Dywan <christian at twotoasts.de>
Date: Fri Oct 30 21:14:05 2009 +0100
Use old Python decorator syntax to support old Python versions
wscript | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/wscript b/wscript
index 7ccf4cc..cdbbf86 100644
--- a/wscript
+++ b/wscript
@@ -56,12 +56,12 @@ def is_mingw (env):
return False
# Compile Win32 res files to (resource) object files
- at extension ('.rc')
def rc_file(self, node):
rctask = self.create_task ('winrc')
rctask.set_inputs (node)
rctask.set_outputs (node.change_ext ('.rc.o'))
self.compiled_tasks.append (rctask)
+rc_file = extension ('.rc')(rc_file)
Task.simple_task_type ('winrc', '${WINRC} -o${TGT} ${SRC}', color='BLUE',
before='cc cxx', shell=False)
More information about the Xfce4-commits
mailing list