diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2011-08-30 17:46:32 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2011-08-30 17:46:32 (GMT) |
commit | 01637001ea528688dc31e7b21d24653729d3f511 (patch) | |
tree | c98229efa88d321a20c0abe6ec6abdff1a393e89 /widgets.py | |
parent | 5e1f45d74b76b5716cac328ef23cb88ec391612f (diff) |
Pep fixes
Signed-of-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'widgets.py')
-rw-r--r-- | widgets.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -69,7 +69,7 @@ class FontCombo(ComboBox): if not self._has_custom_fonts: # add a separator to seperate the non-available fonts from # the available ones - self._fonts.append('') # ugly + self._fonts.append('') # ugly self.append_separator() self._has_custom_fonts = True # add the new font @@ -79,7 +79,7 @@ class FontCombo(ComboBox): model = self.get_model() num_children = model.iter_n_children(None) logger.debug('Number of fonts in the list: %d', num_children) - font_index = num_children-1 + font_index = num_children - 1 # activate the found font if (font_index > -1): |