]> git.parisson.com Git - deefuzzer.git/commitdiff
upgrade some deps, fix invalid escape
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 24 Sep 2025 12:30:16 +0000 (14:30 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 24 Sep 2025 12:30:16 +0000 (14:30 +0200)
deefuzzer/tools/utils.py
deefuzzer/version.py
setup.py

index b5728a05e081de301ea4cd0fda4d12fff354059a..8700bf3dd59cec7e458f1a87acff1418571bd897 100644 (file)
@@ -25,10 +25,10 @@ mimetypes.add_type('application/x-yaml', '.yaml')
 def clean_word(word):
     """ Return the word without excessive blank spaces, underscores and
     characters causing problem to exporters"""
-    word = re.sub("^[^\w]+", "", word)  # trim the beginning
-    word = re.sub("[^\w]+$", "", word)  # trim the end
-    word = re.sub("_+", "_", word)  # squeeze continuous _ to one _
-    word = re.sub("^[^\w]+", "", word)  # trim the beginning _
+    word = re.sub(r"^[^\w]+", "", word)  # trim the beginning
+    word = re.sub(r"[^\w]+$", "", word)  # trim the end
+    word = re.sub(r"_+", "_", word)  # squeeze continuous _ to one _
+    word = re.sub(r"^[^\w]+", "", word)  # trim the beginning _
     # word = string.replace(word,' ','_')
     # word = string.capitalize(word)
     dict = '&[];"*:,'
index 8969d4966639d1722f985e3dcc6b0233213ccaf1..1f0478037d4fddc124f4adaae533ab1262a26f11 100644 (file)
@@ -1 +1 @@
-__version__ = '0.9.1'
+__version__ = '0.9.2'
index c4221d4d22b16cd64416a156b9412e3b235bbbb7..fb88d1349a05850e00a0940ccf0a154ec37b39f6 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -21,16 +21,16 @@ setup(
     long_description=open('README.rst').read(),
     author="Guillaume Pellerin",
     author_email="yomguy@parisson.com",
-    version='0.9.1',
+    version='0.9.2',
     install_requires=[
         'setuptools',
         'wheel',
         'python-shout==0.2.8',
         'python-twitter==3.5',
         'mutagen==1.45.1',
-        'pyliblo3==0.12.0',
-        'pycurl==7.44.1',
-        'pyyaml==6.0.1',
+        'pyliblo3==0.16.4',
+        'pycurl==7.45.6',
+        'pyyaml==6.0.2',
         'mysqlclient==2.0.3',
     ],
     platforms=['OS Independent'],