diff options
Diffstat (limited to 'scripts/lib/bsp/engine.py')
-rw-r--r-- | scripts/lib/bsp/engine.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py index 5b4948635e..03bd66ecef 100644 --- a/scripts/lib/bsp/engine.py +++ b/scripts/lib/bsp/engine.py | |||
@@ -49,7 +49,7 @@ class Line(metaclass=ABCMeta): | |||
49 | def __init__(self, line): | 49 | def __init__(self, line): |
50 | self.line = line | 50 | self.line = line |
51 | self.generated_line = "" | 51 | self.generated_line = "" |
52 | self.prio = sys.maxint | 52 | self.prio = sys.maxsize |
53 | self.discard = False | 53 | self.discard = False |
54 | 54 | ||
55 | @abstractmethod | 55 | @abstractmethod |
@@ -154,7 +154,7 @@ class InputLine(Line): | |||
154 | try: | 154 | try: |
155 | self.prio = int(props["prio"]) | 155 | self.prio = int(props["prio"]) |
156 | except KeyError: | 156 | except KeyError: |
157 | self.prio = sys.maxint | 157 | self.prio = sys.maxsize |
158 | 158 | ||
159 | def gen(self, context = None): | 159 | def gen(self, context = None): |
160 | try: | 160 | try: |
@@ -1284,7 +1284,7 @@ class InputLineGroup(InputLine): | |||
1284 | def __init__(self, codeline): | 1284 | def __init__(self, codeline): |
1285 | InputLine.__init__(self, {}, "", 0) | 1285 | InputLine.__init__(self, {}, "", 0) |
1286 | self.group = [] | 1286 | self.group = [] |
1287 | self.prio = sys.maxint | 1287 | self.prio = sys.maxsize |
1288 | self.group.append(codeline) | 1288 | self.group.append(codeline) |
1289 | 1289 | ||
1290 | def append(self, line): | 1290 | def append(self, line): |