one2pret / winsys

Automatically exported from code.google.com/p/winsys
Other
0 stars 0 forks source link

cannot import dialogs from winsys #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. update winsys from svn
2. try to run the cookbook for dialogs
3. from winsys import dialogs

What is the expected output? What do you see instead?
import func dialogs

What version of the product are you using? On what operating system?
Lates svn on Vista SP2, latest pywin-32 on Python 2.6.2

Please provide any additional information below.
>>>
from winsys import dialogs
Traceback (most recent call last):
Error:   File "<Shell>", line 1, in <module>
Error:   File "F:\program files\python\lib\site-packages\winsys\dialogs.py", 
line 53, in <module>
Error:     DESKTOP = wrapped (win32gui.GetDesktopWindow)
Error: NameError: name 'wrapped' is not defined

Original issue reported on code.google.com by thors...@thorstenkampe.de on 12 Jul 2009 at 9:04

GoogleCodeExporter commented 9 years ago
Fixed in r418. And this time I've actually run the cookbook examples to avoid 
stupid
slip-ups like that. Thanks for persevering.

Original comment by tjgolden@gmail.com on 13 Jul 2009 at 7:51