some minor nitpicking

This commit is contained in:
Steffen Schaumburg 2011-02-01 02:04:47 +01:00
parent 543862629f
commit 7234b74df1
3 changed files with 4 additions and 1 deletions

View File

@ -53,7 +53,8 @@ class Table(Table_Window):
title = d[kCGWindowName]
if self.check_bad_words(title): continue
self.number = int(d[kCGWindowNumber])
self.title = title; return self.title
self.title = title
return self.title
if self.number is None:
return None

View File

@ -30,6 +30,7 @@ The generated file can then replace heroname.xml (if all is well).
########################################################################
#TODO gettextify
# Standard Library modules
import os

View File

@ -9,6 +9,7 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# TODO gettextify usage print
import L10n
_ = L10n.get_translation()