Bump version to 0.5.1
[snf-image-creator] / image_creator / output / __init__.py
index 7beceac..b4aa7c0 100644 (file)
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+#
 # Copyright 2012 GRNET S.A. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or
 # interpreted as representing official policies, either expressed
 # or implied, of GRNET S.A.
 
+"""This package is intended to provide output classes for printing messages and
+progress bars. The user can change the output behaviour of the program by
+subclassing the Output class and assigning the derived one as the output class
+of the various parts of the image-creator package.
+"""
+
 
 class Output(object):
     """A class for printing program output"""
@@ -71,7 +79,7 @@ class Output(object):
         def __init__(self, size, title, bar_type='default'):
             self.size = size
             self.bar_type = bar_type
-            self.output.output("%s..." % title, False)
+            self.output.output("%s ..." % title, False)
 
         def goto(self, dest):
             """Move progress to a specific position"""