/[smeserver]/cdrom.image/sme9/product/installclasses/server.py
ViewVC logotype

Diff of /cdrom.image/sme9/product/installclasses/server.py

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.7 by wellsi, Sun Dec 1 04:05:23 2013 UTC Revision 1.9 by wellsi, Tue Mar 18 14:54:09 2014 UTC
# Line 93  class InstallClass(BaseInstallClass): Line 93  class InstallClass(BaseInstallClass):
93      sortPriority = 90000      sortPriority = 90000
94      hidden = 0      hidden = 0
95    
96        bootloaderTimeoutDefault = 5
97      tasks = [(N_("Basic Server"),      tasks = [(N_("Basic Server"),
98                ["base", "core"]),                ["base", "core"]),
99               (N_("Minimal"),               (N_("Minimal"),
# Line 184  class InstallClass(BaseInstallClass): Line 185  class InstallClass(BaseInstallClass):
185          if oldprod.startswith(productName):          if oldprod.startswith(productName):
186              return True              return True
187    
188            productUpgrades = {
189                "SME Server": ("Mitel Networks", "SME Server", "e-smith server", ),
190            }
191    
192            if productUpgrades.has_key(productName):
193                acceptable = productUpgrades[productName]
194            else:
195                acceptable = ()
196    
197            for p in acceptable:
198                if oldprod.startswith(p):
199                    return True
200    
201          return False          return False
202    
203      def versionMatches(self, oldver):      def versionMatches(self, oldver):


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed