Kaydet (Commit) a5f875f5 authored tarafından Guido van Rossum's avatar Guido van Rossum

Yet another mini fix to pack/grid info.

üst 68784363
......@@ -668,7 +668,7 @@ class Pack:
for i in range(0, len(words), 2):
key = words[i][1:]
value = words[i+1]
if value[0] == '.':
if value[:1] == '.':
value = self._nametowidget(value)
dict[key] = value
return dict
......@@ -745,7 +745,7 @@ class Grid:
for i in range(0, len(words), 2):
key = words[i][1:]
value = words[i+1]
if value[0] == '.':
if value[:1] == '.':
value = self._nametowidget(value)
dict[key] = value
return dict
......
......@@ -668,7 +668,7 @@ class Pack:
for i in range(0, len(words), 2):
key = words[i][1:]
value = words[i+1]
if value[0] == '.':
if value[:1] == '.':
value = self._nametowidget(value)
dict[key] = value
return dict
......@@ -745,7 +745,7 @@ class Grid:
for i in range(0, len(words), 2):
key = words[i][1:]
value = words[i+1]
if value[0] == '.':
if value[:1] == '.':
value = self._nametowidget(value)
dict[key] = value
return dict
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment