diff options
Diffstat (limited to 'math/py-gato/files/patch-GatoUtil.py')
-rw-r--r-- | math/py-gato/files/patch-GatoUtil.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/math/py-gato/files/patch-GatoUtil.py b/math/py-gato/files/patch-GatoUtil.py deleted file mode 100644 index 7cdcf9b766a1..000000000000 --- a/math/py-gato/files/patch-GatoUtil.py +++ /dev/null @@ -1,13 +0,0 @@ ---- GatoUtil.py.orig Wed May 16 13:16:56 2001 -+++ GatoUtil.py Mon Sep 3 12:14:42 2001 -@@ -40,8 +40,8 @@ - - def extension(pathAndFile): - """ Return ext if path/filename.ext is given """ -- import regsub -- return regsub.split(stripPath(pathAndFile),"\.")[1] -+ import re -+ return re.split("\.", stripPath(pathAndFile))[1] - - def stripPath(pathAndFile): - """ Return filename.ext if path/filename.ext is given """ |