summaryrefslogtreecommitdiffstats
path: root/balkan/testit
blob: bd1bb0c3986fcf313e5b7361f2609881a1f1f489 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/python

import _balkan

p = _balkan.readTable('/dev/hda')

for i in range(0, len(p) - 1):
    (type, start, size) = p[i]
    if (type != -1):
        print "i:", i, p[i]