mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
refactoring: avoid underused vars
This commit is contained in:
parent
697f15c9df
commit
fcc55dfe56
1 changed files with 1 additions and 4 deletions
|
@ -1265,9 +1265,6 @@ class BlackHoleSolver_Hint(Base_Solver_Hint):
|
||||||
|
|
||||||
result = ''
|
result = ''
|
||||||
# iteration output
|
# iteration output
|
||||||
iter_ = 0
|
|
||||||
depth = 0
|
|
||||||
states = 0
|
|
||||||
|
|
||||||
for sbytes in pout:
|
for sbytes in pout:
|
||||||
s = six.text_type(sbytes, encoding='utf-8')
|
s = six.text_type(sbytes, encoding='utf-8')
|
||||||
|
@ -1279,7 +1276,7 @@ class BlackHoleSolver_Hint(Base_Solver_Hint):
|
||||||
result = m.group(1)
|
result = m.group(1)
|
||||||
break
|
break
|
||||||
|
|
||||||
self.dialog.setText(iter=iter_, depth=depth, states=states)
|
self.dialog.setText(iter=0, depth=0, states=0)
|
||||||
self.solver_state = result.lower()
|
self.solver_state = result.lower()
|
||||||
|
|
||||||
hints = []
|
hints = []
|
||||||
|
|
Loading…
Add table
Reference in a new issue