def GeneratePath(self, instance):
    prefix = self._path + self._prefix
    if type(instance) == types.IntType:
      if instance:
        return '%s%d%s' % (prefix, instance, self._suffix)
      return prefix + self._suffix
    return prefix + instance
  #end def GeneratePath
Generates the iterations, as described above.
dataset/ETHPy150Open benoitc/restkit/doc/sitemap_gen.py/FilePathGenerator.GeneratePath