simple Iteration on python

My aim is to write a class and use the iter and next() methods only, to find the divisors of a number.
Here is what I wrote:

class Divisors(object):
def __init__(self,integer):
    self.integer = integer
def __iter__(self):
    self.divisor = 1
    return self
def next(self):
    div = 0
    if self.divisor >= self.integer:
        raise StopIteration
    else:
         if self.integer % self.divisor == 0:
              div = self.divisor
         self.divisor += 1
    return div

And when I check with :

for i in Divisors(6):
    print i

I get

1
2
3
0
0

instead of 1 2 3 6

But I am not sure if I should use print instead of the div I used above.
Any hint about what I did wrong here.

simple Iteration on python