@@ -205,9 +205,6 @@ def PyCatFile(infiles, outfile, verbose=False):
205205 catfp .close ();
206206 return True ;
207207
208- def PHPCatFile (infiles , outfile , verbose = False ):
209- return PyCatFile (infiles , outfile , verbose );
210-
211208if (tarsupport is True ):
212209 def PyCatFromTarFile (infile , outfile , verbose = False ):
213210 infile = RemoveWindowsPath (infile );
@@ -288,10 +285,6 @@ def PyCatFromTarFile(infile, outfile, verbose=False):
288285 tarinput .close ();
289286 return True ;
290287
291- if (tarsupport is True ):
292- def PHPCatFromTarFile (infile , outfile , verbose = False ):
293- return PyCatFromTarFile (infile , outfile , verbose );
294-
295288def PyCatToArray (infile , seekstart = 0 , seekend = 0 , listonly = False ):
296289 infile = RemoveWindowsPath (infile );
297290 catfp = open (infile , "rb" );
@@ -355,9 +348,6 @@ def PyCatToArray(infile, seekstart=0, seekend=0, listonly=False):
355348 catfp .close ();
356349 return pycatlist ;
357350
358- def PHPCatToArray (infile , seekstart = 0 , seekend = 0 , listonly = False ):
359- return PyCatToArray (infile , seekstart , seekend , listonly );
360-
361351def PyCatArrayIndex (infile , seekstart = 0 , seekend = 0 , listonly = False ):
362352 infile = RemoveWindowsPath (infile );
363353 listcatfiles = PyCatToArray (infile , seekstart , seekend , listonly );
@@ -405,9 +395,6 @@ def PyCatArrayIndex(infile, seekstart=0, seekend=0, listonly=False):
405395 lcfi = lcfi + 1 ;
406396 return pycatarray ;
407397
408- def PHPCatArrayIndex (infile , seekstart = 0 , seekend = 0 , listonly = False ):
409- return PyCatArrayIndex (infile , seekstart , seekend , listonly );
410-
411398def PyUnCatFile (infile , outdir = None , verbose = False ):
412399 infile = RemoveWindowsPath (infile );
413400 if (outdir is not None ):
@@ -445,9 +432,6 @@ def PyUnCatFile(infile, outdir=None, verbose=False):
445432 lcfi = lcfi + 1 ;
446433 return True ;
447434
448- def PHPUnCatFile (infile , outdir = None , verbose = False ):
449- return PyUnCatFile (infile , outdir , verbose );
450-
451435def PyCatListFiles (infile , seekstart = 0 , seekend = 0 , verbose = False ):
452436 infile = RemoveWindowsPath (infile );
453437 logging .basicConfig (format = "%(message)s" , stream = sys .stdout , level = logging .DEBUG );
@@ -490,9 +474,6 @@ def PyCatListFiles(infile, seekstart=0, seekend=0, verbose=False):
490474 lcfi = lcfi + 1 ;
491475 return True ;
492476
493- def PHPCatListFiles (infile , seekstart = 0 , seekend = 0 , verbose = False ):
494- return PyCatListFiles (infile , seekstart , seekend , verbose );
495-
496477if __name__ == '__main__' :
497478 should_extract = False ;
498479 should_create = True ;
0 commit comments