KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21585/root/usr/share/doc/swig-1.3.29/Manual/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21585/root/usr/share/doc/swig-1.3.29/Manual/fixstyle.py
#!/usr/bin/python

# Adds the SWIG stylesheet to the generated documentation on a single page

import sys
import string

filename = sys.argv[1]

data = open(filename).read()
open(filename+".bak","w").write(data)

swigstyle = "\n" + open("style.css").read()

lines = data.splitlines()
result = [ ]
for s in lines:
	if s == "<STYLE TYPE=\"text/css\"><!--":
		result.append(s + swigstyle)
	else:
		result.append(s)

data = "\n".join(result)

open(filename,"w").write(data)

Anon7 - 2021