Fix a syntax error from r7266 (and a disconnected spelling error while we're at it)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7267 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2009-05-01 22:06:23 +00:00 committed by Git SVN Gateway
parent 0c7f44ee70
commit 6618674111
1 changed files with 2 additions and 2 deletions

View File

@ -90,12 +90,12 @@ class GameDB:
# only games with a valid description
def getGames(self):
""" filter all games with a valid description """
for game in self.getAllGames()
for game in self.getAllGames():
if game.description:
yield game
def getAllGames(self):
""" return all knwon games """
""" return all known games """
with self.lock:
for game in self.list:
yield game