403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/games/oolite/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/games/oolite/files/patch-fixup-python
# Patch for Python 3.x support, created with using 2to3 program.

--- deps/mozilla/js/src/build/cl.py.orig	2014-05-17 17:57:43 UTC
+++ deps/mozilla/js/src/build/cl.py
@@ -51,7 +51,7 @@ def InvokeClWithDependencyGeneration(cmd
             break
 
     if target == None:
-        print >>sys.stderr, "No target set" and sys.exit(1)
+        print("No target set" and sys.exit(1), file=sys.stderr)
 
     # The deps target lives here
     depstarget = os.path.basename(target) + ".pp"
@@ -90,7 +90,7 @@ def InvokeClWithDependencyGeneration(cmd
 
     f = open(depstarget, "w")
     for dep in sorted(deps):
-        print >>f, "%s: %s" % (target, dep)
+        print("%s: %s" % (target, dep), file=f)
 
 if __name__ == "__main__":
     InvokeClWithDependencyGeneration(sys.argv[1:])
--- deps/mozilla/js/src/imacro_asm.py.orig	2014-05-17 17:57:43 UTC
+++ deps/mozilla/js/src/imacro_asm.py
@@ -456,7 +456,7 @@ def assemble(filename, outfile):
 if __name__ == '__main__':
     import sys
     if len(sys.argv) != 3:
-        print "usage: python imacro_asm.py infile.jsasm outfile.c.out"
+        print("usage: python imacro_asm.py infile.jsasm outfile.c.out")
         sys.exit(1)
 
     f = open(sys.argv[2], 'w')

Youez - 2016 - github.com/yon3zu
LinuXploit