Revision 1bda0902 snf-image-helper/disklabel.py

b/snf-image-helper/disklabel.py
1 1
#!/usr/bin/env python
2
#
2 3
# -*- coding: utf-8 -*-
3 4
#
4 5
# Copyright (C) 2013 GRNET S.A.
......
232 233
            """Print the Partition table"""
233 234
            val = ""
234 235
            for i in range(len(self.part)):
235
                val = "%s%s\n" % (val, str(self.part[i]))
236
                val += "%c: %s\n" % (chr(ord('a') + i), str(self.part[i]))
236 237
            return val
237 238

  
238 239
        def pack(self):

Also available in: Unified diff