-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
13 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# TTimo <[email protected]> | ||
# http://scons.org/ | ||
|
||
from __future__ import print_function | ||
|
||
|
||
import sys, os, platform, pickle | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#!/usr/bin/env python | ||
|
||
from __future__ import print_function | ||
#!/usr/bin/env python3 | ||
|
||
import os.path, sys, shutil | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# TTimo <[email protected]> | ||
# http://scons.org/ | ||
|
||
from __future__ import print_function | ||
|
||
|
||
import os, subprocess, platform, xml.sax, re, string, platform | ||
|
||
|
@@ -106,7 +106,7 @@ def __cmp__(self, other): | |
assert self.EnumType is other.EnumType, "Only values from the same enum are comparable" | ||
return cmp(self.__value, other.__value) | ||
def __invert__(self): return constants[maximum - self.__value] | ||
def __nonzero__(self): return bool(self.__value) | ||
def __bool__(self): return bool(self.__value) | ||
def __repr__(self): return str(names[self.__value]) | ||
|
||
maximum = len(names) - 1 | ||
|