=== modified file 'fiveaday/bzr.py' --- fiveaday/bzr.py 2008-05-09 08:25:46 +0000 +++ fiveaday/bzr.py 2008-05-25 14:08:21 +0000 @@ -74,7 +74,7 @@ _("'%s' is not member of %s.") % (username, ", ".join(t)) sys.exit(1) tof.add(files.get_lpid(), tf.teams) - os.system("cd %s; bzr add %s" % (bzr.branch_dir(), + os.system("cd %s; bzr add %s" % (branch_dir(), files.team_overview_file())) def add(args): === modified file 'fiveaday/files.py' --- fiveaday/files.py 2008-05-14 08:11:34 +0000 +++ fiveaday/files.py 2008-05-25 14:05:59 +0000 @@ -64,14 +64,14 @@ class TeamOverviewFile(object): def __init__(self): self.overview = {} - tof_name = team_overview_file() - if os.path.exists(tof_name): - for l in open(tof_name).readlines(): + self.tof_name = team_overview_file() + if os.path.exists(self.tof_name): + for l in open(self.tof_name).readlines(): args = l.split() if len(args) > 1: self.overview[args[0]] = args[1:] def add(self, name, teams): - f = open(tof_name, "a") + f = open(self.tof_name, "a") f.write("%s %s\n" % (name, " ".join(teams))) f.close() === modified file 'po/5-a-day.pot' --- po/5-a-day.pot 2008-05-14 08:11:34 +0000 +++ po/5-a-day.pot 2008-05-25 14:08:26 +0000 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-05-14 10:09+0200\n" +"POT-Creation-Date: 2008-05-25 15:08+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"