summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Action.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-04-30 19:38:19 (GMT)
committerSteven Knight <knight@baldmt.com>2003-04-30 19:38:19 (GMT)
commit3387eab42442c7fe7ed0064de5b939497cc6df1b (patch)
tree3c34e3c08fe379c147c7166067d05a0a87fccaa6 /src/engine/SCons/Action.py
parent212d77d88aa4374ef13f2e6bc7edf3395ac9736c (diff)
downloadSCons-3387eab42442c7fe7ed0064de5b939497cc6df1b.zip
SCons-3387eab42442c7fe7ed0064de5b939497cc6df1b.tar.gz
SCons-3387eab42442c7fe7ed0064de5b939497cc6df1b.tar.bz2
Test portability fixes for Cygwin. (Chad Austin)
Diffstat (limited to 'src/engine/SCons/Action.py')
-rw-r--r--src/engine/SCons/Action.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/SCons/Action.py b/src/engine/SCons/Action.py
index 1260850..d7be127 100644
--- a/src/engine/SCons/Action.py
+++ b/src/engine/SCons/Action.py
@@ -346,6 +346,9 @@ class LazyCmdGenerator:
# The variable reference substitutes to nothing.
return ''
+ def __cmp__(self, other):
+ return cmp(self.__dict__, other.__dict__)
+
class FunctionAction(ActionBase):
"""Class for Python function actions."""