Mercurial > traipse_dev
diff upmana/updatemana.py @ 231:cc7629ab526d alpha
Traipse Alpha 'OpenRPG' {100614-00}
Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc's main goal is to offer more advanced features and enhance the productivity of the user.
Update Summary (Closing/Closed)
New Features:
New to Map, can re-order Grid, Miniatures, and Whiteboard layer draw order
New to Server GUI, can now clear log
Fixes:
Fix to InterParse that was causing an Infernal Loop with Namespace Internal
Fix to XML data, removed old Minidom and switched to Element Tree
Fix to Server that was causing eternal attempt to find a Server ID, in Register Rooms thread
Fix to metaservers.xml file not being created
Fix to Single and Double quotes in Whiteboard text
Fix to Background images not showing when using the Image Server
Fix to Duplicate chat names appearing
Fix to Server GUI's logging output
Fix to FNB.COLORFUL_TABS bug.
author | sirebral |
---|---|
date | Mon, 14 Jun 2010 15:20:08 -0500 |
parents | cd4ac7e46d3c |
children |
line wrap: on
line diff
--- a/upmana/updatemana.py Sun Jun 13 19:06:02 2010 -0500 +++ b/upmana/updatemana.py Mon Jun 14 15:20:08 2010 -0500 @@ -160,7 +160,7 @@ manifest = open(self.filename) self.ignorelist = [] ignore = manifest.readlines() - for i in ignore: print i; self.ignorelist.append(str(i[:len(i)-1])) + for i in ignore: self.ignorelist.append(str(i[:len(i)-1])) manifest.close() def Finish(self, evt=None): @@ -194,7 +194,7 @@ for t in types: self.btnName = str(t) self.btn[self.id] = wx.RadioButton(dlg, wx.ID_ANY, str(t), name=self.btnName) - if self.btnName == self.current: self.btn[self.id].SetValue(True) + if self.btnName == self.current: self.btn[self.id].SetValue(True); self.current_id = self.id self.btnlist[self.id] = self.btnName dlgsizer.Add(self.btn[self.id], (row, col)) col += 1; self.id += 1 @@ -212,7 +212,16 @@ def PackageSet(self, event): for btn in self.btn: - if self.btn[btn].GetValue() == True: self.current = self.btnlist[btn] + if self.btn[btn].GetValue() == True: + if self.btnlist[btn] == 'pious-paladin': + try: from PyQt4 import QtCore + except: + error = "'Pious Paladin' requires PyQt 4.6. For stability you will not be able to update." + dlg = wx.MessageDialog(None, error, 'Failed PyQt Test', wx.OK | wx.ICON_ERROR) + dlg.ShowModal() + self.btn[self.current_id].SetValue(True) + self.current = self.btnlist[self.current_id] + else: self.current = self.btnlist[btn] branches = self.repo.branchtags() heads = dict.fromkeys(self.repo.heads(), 1) @@ -622,7 +631,7 @@ manifest = open(self.filename) self.ignorelist = [] ignore = manifest.readlines() - for i in ignore: print i; self.ignorelist.append(str(i[:len(i)-1])) + for i in ignore: self.ignorelist.append(str(i[:len(i)-1])) manifest.close() def get_packages(self, type=None): @@ -818,7 +827,7 @@ manifest = open(self.filename) self.ignorelist = [] ignore = manifest.readlines() - for i in ignore: print i; self.ignorelist.append(str(i[:len(i)-1])) + for i in ignore: self.ignorelist.append(str(i[:len(i)-1])) manifest.close() def OnExit(self):