1041:6a8f46c8819a | 1043:4a6fe8774572 |
---|---|
1945 self.trUtf8("Enter the statement to evaluate"), | 1945 self.trUtf8("Enter the statement to evaluate"), |
1946 self.evalHistory, | 1946 self.evalHistory, |
1947 curr, True) | 1947 curr, True) |
1948 | 1948 |
1949 if ok: | 1949 if ok: |
1950 if arg.isNull(): | 1950 if not arg: |
1951 return | 1951 return |
1952 | 1952 |
1953 # This moves any previous occurrence of this expression to the head | 1953 # This moves any previous occurrence of this expression to the head |
1954 # of the list. | 1954 # of the list. |
1955 if arg in self.evalHistory: | 1955 if arg in self.evalHistory: |
1974 self.trUtf8("Enter the statement to execute"), | 1974 self.trUtf8("Enter the statement to execute"), |
1975 self.execHistory, | 1975 self.execHistory, |
1976 curr, True) | 1976 curr, True) |
1977 | 1977 |
1978 if ok: | 1978 if ok: |
1979 if stmt.isNull(): | 1979 if not stmt: |
1980 return | 1980 return |
1981 | 1981 |
1982 # This moves any previous occurrence of this statement to the head | 1982 # This moves any previous occurrence of this statement to the head |
1983 # of the list. | 1983 # of the list. |
1984 if stmt in self.execHistory: | 1984 if stmt in self.execHistory: |