Avoid quote warnings during '$ make distcheck'

svn: r16414
This commit is contained in:
Jérôme Rapinat
2011-01-19 16:16:21 +00:00
parent 9ae0f76da7
commit e2fcc1d9d0
6 changed files with 38 additions and 17 deletions

View File

@@ -237,6 +237,7 @@ class ProgressMeter(object):
Reset for another pass. Provide a new header and define number
of steps to be used.
"""
import gtk
self.__mode = mode
self.__pbar_max = total
@@ -259,8 +260,11 @@ class ProgressMeter(object):
gtk.main_iteration()
def step(self):
"""Click the progress bar over to the next value. Be paranoid
and insure that it doesn't go over 100%."""
"""
Click the progress bar over to the next value. Be paranoid
and insure that it doesn't go over 100%.
"""
import gtk
if self.__mode is ProgressMeter.MODE_FRACTION:
self.__pbar_index = self.__pbar_index + 1.0