Migrated demo code to not import string module. (Patch from Kevin Altis)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6,7 +6,7 @@ This is a way to save the startup time when running img2py on lots of
|
||||
files...
|
||||
"""
|
||||
|
||||
import sys, string
|
||||
import sys
|
||||
from wxPython.tools import img2py
|
||||
|
||||
|
||||
@@ -100,6 +100,6 @@ command_lines = [
|
||||
|
||||
|
||||
for line in command_lines:
|
||||
args = string.split(line)
|
||||
args = line.split()
|
||||
img2py.main(args)
|
||||
|
||||
|
Reference in New Issue
Block a user