[Sugar-devel] [PATCH] make 'setup.py genpot' produce a pot without a full path in filenames #2508
Sascha Silbe
sascha-ml-reply-to-2010-4 at silbe.org
Tue Dec 14 14:43:51 EST 2010
Excerpts from Simon Schampijer's message of Mon Nov 29 13:21:03 +0100 2010:
[src/sugar/activity/bundlebuilder.py]
> - 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)
Tested-By: Sascha Silbe <sascha-pgp at silbe.org>
I had to apply the patch manually. Please use git send-email in the
future to avoid malformed patches.
How about "file_path" instead of "relpath"? Or at least "rel_path"?
Reviewed-By: Sascha Silbe <sascha-pgp at silbe.org>
Sascha
--
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: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101214/c44bbc06/attachment.pgp>
More information about the Sugar-devel
mailing list