[Sugar-devel] [PATCH] make 'setup.py genpot' produce a pot without a full path in filenames #2508

Sascha Silbe sascha-ml-reply-to-2011-2 at silbe.org
Sat Feb 12 14:14:40 EST 2011


Excerpts from Simon Schampijer's message of Mon Nov 29 13:21:03 +0100 2010:

> -                python_files.append(os.path.join(root, file_name))
> +                relpath = os.path.relpath(os.path.join(root, file_name),
> +                                          config.source_dir)
> +                python_files.append(relpath)

Pushed (with minor changes) as b30bc01 [1], thanks!

Sascha

[1] http://git.sugarlabs.org/sugar-toolkit/mainline/commit/b30bc0151c357f0e60eb92c934daa56ca28d2df0
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 494 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110212/8bc8126b/attachment.pgp>


More information about the Sugar-devel mailing list