comparison start_tester.py @ 48:0aeee1992423 traipse_dev

This updates fixes three things. Branch names are now current to your udpate and updates take place before the program starts and minor error in update code (unremarked, removed '.')
author sirebral
date Thu, 06 Aug 2009 04:26:02 -0500
parents c223c1051f4a
children
comparison
equal deleted inserted replaced
47:52f6a38f8885 48:0aeee1992423
6 HG = os.environ["HG"] 6 HG = os.environ["HG"]
7 7
8 import pyver 8 import pyver
9 pyver.checkPyVersion() 9 pyver.checkPyVersion()
10 10
11 os.system(HG + ' pull "http://hg.assembla.com/traipse"') 11 from orpg.orpg_wx import *
12 os.system(HG + ' pull "http://hg.assembla.com/traipse_dev"') 12 import upmana.updatemana
13 #os.system(HG + ' pull "http://hg.assembla.com/openrpg"') 13 app = upmana.updatemana.updateApp(0)
14 #os.system(HG + ' pull "http://hg.assembla.com/openrpg_dev"') 14 app.MainLoop()
15
16 for key in sys.modules.keys(): 15 for key in sys.modules.keys():
17 if 'orpg' in key: 16 if 'orpg' in key:
18 del sys.modules[key] 17 del sys.modules[key]
19 18
20 from orpg.orpg_wx import * 19 from orpg.orpg_wx import *
21
22 import upmana.updatemana
23 app = upmana.updatemana.updateApp(0)
24 app.MainLoop()
25
26 import orpg.main 20 import orpg.main
27
28 21
29 if WXLOADED: 22 if WXLOADED:
30 mainapp = orpg.main.orpgApp(0) 23 mainapp = orpg.main.orpgApp(0)
31 mainapp.MainLoop() 24 mainapp.MainLoop()
32 else: 25 else: