Debugger/DebugUI.py

changeset 1042
f6efc93ff22a
parent 991
5ec5e707dfa5
child 1112
8a7d1b9d18db
equal deleted inserted replaced
1040:9e25732c452a 1042:f6efc93ff22a
1946 self.trUtf8("Enter the statement to evaluate"), 1946 self.trUtf8("Enter the statement to evaluate"),
1947 self.evalHistory, 1947 self.evalHistory,
1948 curr, True) 1948 curr, True)
1949 1949
1950 if ok: 1950 if ok:
1951 if arg.isNull(): 1951 if not arg:
1952 return 1952 return
1953 1953
1954 # This moves any previous occurrence of this expression to the head 1954 # This moves any previous occurrence of this expression to the head
1955 # of the list. 1955 # of the list.
1956 if arg in self.evalHistory: 1956 if arg in self.evalHistory:
1975 self.trUtf8("Enter the statement to execute"), 1975 self.trUtf8("Enter the statement to execute"),
1976 self.execHistory, 1976 self.execHistory,
1977 curr, True) 1977 curr, True)
1978 1978
1979 if ok: 1979 if ok:
1980 if stmt.isNull(): 1980 if not stmt:
1981 return 1981 return
1982 1982
1983 # This moves any previous occurrence of this statement to the head 1983 # This moves any previous occurrence of this statement to the head
1984 # of the list. 1984 # of the list.
1985 if stmt in self.execHistory: 1985 if stmt in self.execHistory:

eric ide

mercurial