__file__ change for foresightlinux people

This commit is contained in:
Marcos Pinto 2007-07-24 05:10:33 +00:00
parent 02cd556f18
commit 603675494d
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class build_trans(cmd.Command):
pass pass
def run(self): def run(self):
po_dir = os.path.join(os.path.dirname(__file__), 'po') po_dir = os.path.join(os.path.dirname(os.curdir), 'po')
for path, names, filenames in os.walk(po_dir): for path, names, filenames in os.walk(po_dir):
for f in filenames: for f in filenames:
if f.endswith('.po'): if f.endswith('.po'):