Red Hat Bugzilla – Bug 796039
Python client not recognizing source directories with pot files only in sub-directories.
Last modified: 2012-04-26 04:12:19 EDT
Description of problem:
Version-Release number of selected component (if applicable): 1.3.3
Steps to Reproduce:
1. Go to a publican project which has a source directory with no POT files directly underneath it. All of its POT files should be in sub-directories.
2. Try running "zanata push --srcdir=./pot"
The following error message: "error: Can not find source folder, please specify the source folder with '--srcdir' or 'dir' option"
The python client should behave like the maven client in that it recursively finds all source documents under the specified source directory.
The publican-demo project under the zanata maven client is a prime example. This issue can be reproduced by using the python client instead of the maven client to push this project.
Thanks, I make a commit to git-hub to fix this issue, please verify this issue with:
Verified with Zanata python client version 1.3.3-29-gee3c