Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/demos/servers
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18082/com/win32comext/shell/demos/servers
Modified Files:
shell_view.py
Log Message:
more moderizations merged from py3k work
Index: shell_view.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/demos/servers/shell_view.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** shell_view.py 26 Nov 2008 08:52:33 -0000 1.13
--- shell_view.py 27 Nov 2008 09:33:22 -0000 1.14
***************
*** 224,228 ****
objects = get_clbr_for_file(self.path)
pidls = []
! for name, ob in objects.items():
pidls.append( ["object\0" + self.path + "\0" + name] )
return NewEnum(pidls, iid=shell.IID_IEnumIDList,
--- 224,228 ----
objects = get_clbr_for_file(self.path)
pidls = []
! for name, ob in objects.iteritems():
pidls.append( ["object\0" + self.path + "\0" + name] )
return NewEnum(pidls, iid=shell.IID_IEnumIDList,
***************
*** 281,285 ****
my_objects = mod_objects[self.class_name]
pidls = []
! for func_name, lineno in my_objects.methods.items():
pidl = ["object\0" + self.path + "\0" +
self.class_name + "." + func_name]
--- 281,285 ----
my_objects = mod_objects[self.class_name]
pidls = []
! for func_name, lineno in my_objects.methods.iteritems():
pidl = ["object\0" + self.path + "\0" +
self.class_name + "." + func_name]
|