Kaydet (Commit) 51767739 authored tarafından Xisco Fauli's avatar Xisco Fauli

pyfax: replace xrange

Change-Id: Id43dd5adb33e2c037c529e5af75bf920258b3fd9
üst 12634c14
...@@ -164,25 +164,25 @@ class FaxWizardDialogResources(Resource): ...@@ -164,25 +164,25 @@ class FaxWizardDialogResources(Resource):
self.loadCommunicationResources() self.loadCommunicationResources()
def loadRoadmapResources(self): def loadRoadmapResources(self):
for i in xrange(5): for i in range(5):
self.RoadmapLabels.append(self.getResText( self.RoadmapLabels.append(self.getResText(
FaxWizardDialogResources.RID_FAXWIZARDROADMAP_START + \ FaxWizardDialogResources.RID_FAXWIZARDROADMAP_START + \
+ i + 1)) + i + 1))
def loadSalutationResources(self): def loadSalutationResources(self):
for i in xrange(4): for i in range(4):
self.SalutationLabels.append(self.getResText( self.SalutationLabels.append(self.getResText(
FaxWizardDialogResources.RID_FAXWIZARDSALUTATION_START + \ FaxWizardDialogResources.RID_FAXWIZARDSALUTATION_START + \
i + 1)) i + 1))
def loadGreetingResources(self): def loadGreetingResources(self):
for i in xrange(4): for i in range(4):
self.GreetingLabels.append(self.getResText( self.GreetingLabels.append(self.getResText(
FaxWizardDialogResources.RID_FAXWIZARDGREETING_START + \ FaxWizardDialogResources.RID_FAXWIZARDGREETING_START + \
i + 1)) i + 1))
def loadCommunicationResources(self): def loadCommunicationResources(self):
for i in xrange(3): for i in range(3):
self.CommunicationLabels.append(self.getResText( self.CommunicationLabels.append(self.getResText(
FaxWizardDialogResources.RID_FAXWIZARDCOMMUNICATION_START + \ FaxWizardDialogResources.RID_FAXWIZARDCOMMUNICATION_START + \
i + 1)) i + 1))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment