summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/TGenshi.py
Commit message (Collapse)AuthorAgeFilesLines
* TGenshi: Fix local variable bug reported by trehn on IRCSol Jerome2011-05-061-3/+4
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> (cherry picked from commit 071ef1a1fbe6368b1abb81855e1ab95e316e6911)
* Fix some syntax issuesSol Jerome2011-04-271-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: Add full PY3K compatibilitySol Jerome2011-04-261-5/+13
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* TGenshi: Handle empty files (Resolves #948)Tim Laszlo2011-01-231-0/+2
|
* TGenshi/TCheetah: Add base64 encoding support for files handled by non-Cfg ↵Sol Jerome2010-08-051-1/+6
| | | | | | | | | | | | | | plugins Reported by Chris Brinker in IRC. We should now have the ability to use encoding=base64 in info/info.xml files for paths that are handled by the TGenshi and TCheetah plugins. I think this common code for the three plugins can be merged once we implement Kisielk's idea for having a single Cfg/TGenshi/TCheetah tree. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6002 ce84e21b-d406-0410-9b95-82705330c041
* Fixed indention errorFabian Affolter2010-07-301-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5985 ce84e21b-d406-0410-9b95-82705330c041
* TGenshi: Warn when genshi is not installedSol Jerome2010-07-161-9/+14
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Updated files to match PEP 257 Fabian Affolter2010-06-091-7/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5904 ce84e21b-d406-0410-9b95-82705330c041
* TGenshi/TCheetah: Set type to 'file' for Path entriesSol Jerome2009-10-271-0/+2
| | | | | | | | | Similar to r5475, we need to set the entry type of templated ConfigFiles so that they are mapped properly by the POSIXCompat plugin. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5509 ce84e21b-d406-0410-9b95-82705330c041
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-071-3/+8
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
* TGenshi: Ensure backward/forward api compatibility for genshiNarayan Desai2009-09-221-2/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5448 ce84e21b-d406-0410-9b95-82705330c041
* *Genshi: Don't strip whitespace (Resolves Ticket #730)Narayan Desai2009-09-111-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5429 ce84e21b-d406-0410-9b95-82705330c041
* Implement support for .genshi bundles in BundlerNarayan Desai2009-05-071-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5206 ce84e21b-d406-0410-9b95-82705330c041
* Prevent Genshi traceback for unknown encodingsSol Jerome2009-02-031-2/+5
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5062 ce84e21b-d406-0410-9b95-82705330c041
* Fix unicode error messagesNarayan Desai2009-02-021-4/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5057 ce84e21b-d406-0410-9b95-82705330c041
* Remove old properties implementation and hardwiringNarayan Desai2009-01-211-5/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5036 ce84e21b-d406-0410-9b95-82705330c041
* This patch is stage 1 of the plugin capabilities reworkNarayan Desai2009-01-051-1/+1
| | | | | | | | - define new plugin base classes - switch Plugin.__name__ => Plugin.name git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5004 ce84e21b-d406-0410-9b95-82705330c041
* Fix [TS]Genshi to work with both genshi 0.4 and 0.5Narayan Desai2008-10-081-3/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4927 ce84e21b-d406-0410-9b95-82705330c041
* Support for new Genshi text template syntax (patch from Kamil Kisiel)Sol Jerome2008-09-291-4/+13
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4926 ce84e21b-d406-0410-9b95-82705330c041
* Unicode patch from StousignantNarayan Desai2008-07-311-3/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4843 ce84e21b-d406-0410-9b95-82705330c041
* Unicode support (from stousignant) (Resolves Ticket #549)Narayan Desai2008-06-301-3/+14
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4731 ce84e21b-d406-0410-9b95-82705330c041
* Add template path information into [ST]Genshi processingNarayan Desai2008-05-301-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4640 ce84e21b-d406-0410-9b95-82705330c041
* handle genshi parse errors betterNarayan Desai2008-05-241-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4632 ce84e21b-d406-0410-9b95-82705330c041
* Switch SGenshi over to using EntrySet classes as well (SGenshi templates can ↵Narayan Desai2008-04-081-3/+11
| | | | | | now be client and group specific, and can use properties internally) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4486 ce84e21b-d406-0410-9b95-82705330c041
* Merge in GroupSpool plugin as common code and switch TGenshi to use itNarayan Desai2008-03-211-127/+26
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4430 ce84e21b-d406-0410-9b95-82705330c041
* Add infoxml support to TGenshiNarayan Desai2007-08-261-3/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3646 ce84e21b-d406-0410-9b95-82705330c041
* Add support for altsrc bindings to TGenshiNarayan Desai2007-07-251-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3562 ce84e21b-d406-0410-9b95-82705330c041
* Initial TGenshi checking (from jcollie)Narayan Desai2007-07-181-0/+145
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3476 ce84e21b-d406-0410-9b95-82705330c041