Commit Graph

12 Commits

Author SHA1 Message Date
Xavier Delaruelle
c64d18efcf Fix Python autoinit, error and x-resource rendering
Python code used to define the module command (autoinit action) was
broken (syntax errors) and not Python3-compatible. Error rendering is
also fixed here for Python3 compliance. Code used to process x-resource
is adapted to comply with Python recommendation [1] (subprocess.Popen
should be used instead of os.popen).

Python init script is also modified by this commit to use same code as
the one generated by autoinit action with call to subprocess.Popen
rather than os.popen.

[1] https://docs.python.org/2/library/os.html#os.popen
2016-08-13 05:21:15 -05:00
Kent Mein
62d0440524 Make things work with python3. 2016-03-25 09:58:45 -05:00
Kent Mein
bd4a515a7d Moved things out of the tcl directory.
Kent
2013-01-10 15:48:30 -06:00
rkowen
7aea93b75a Rolled in the cmake addition from version 3.2.8,
and the new perl.pm & python.py init files.
2010-10-04 22:06:44 +00:00
rkowen
90e2bf2f40 Merged in the final of the 3.2.7b changes to the init/ files. 2009-09-22 18:59:31 +00:00
rkowen
36115508f3 Changed the sed '\t' to a tab char so it would work on Solaris. 2009-09-22 16:25:04 +00:00
rkowen
c9936f9817 Rolled in the remaining 3.2.7 changes to the main branch. 2009-08-03 16:23:58 +00:00
rkowen
ec359b9ae7 Removed the acconfig.h file since it's essentially in the configure.ac now.
Reworked all the init,skel,add.* files to handle versioning or no.
Added Makefile.am to ./etc/ and ./ext/ for cleaner installs.
2002-06-14 06:15:21 +00:00
rminsk
63dca8d74c Was not setting the environment variable MODULESHOME 2001-03-22 18:59:38 +00:00
rminsk
b7142f0928 Removing blank lines 2001-01-16 23:25:22 +00:00
rminsk
54d98b3dcb Fixing typeo's 2001-01-16 23:24:09 +00:00
rminsk
4a8ab93ee7 Adding python init files. 2001-01-16 21:09:36 +00:00