Skip to content

Commit

Permalink
remove future lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavi Mendez committed Nov 5, 2020
1 parent d02966a commit f6ae038
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#
attrs==20.1.0 # via pytest
chardet==3.0.4 # via wfuzz (setup.py)
future==0.18.2 # via wfuzz (setup.py)
iniconfig==1.0.1 # via pytest
more-itertools==8.5.0 # via pytest
packaging==20.4 # via pytest
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
'pycurl',
'pyparsing<2.4.2;python_version<="3.4"',
'pyparsing>=2.4*;python_version>="3.5"',
'future',
'six',
'configparser;python_version<"3.5"',
'chardet',
Expand Down
5 changes: 1 addition & 4 deletions src/wfuzz/facade.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

import os

# python2 and 3: metaclass
from future.utils import with_metaclass

ERROR_CODE = -1
BASELINE_CODE = -2
Expand Down Expand Up @@ -64,8 +62,7 @@ def get_plugin(self, identifier):
)


# python2 and 3: class Facade(metaclass=utils.Singleton):
class Facade(with_metaclass(Singleton, object)):
class Facade(metaclass=Singleton):
def __init__(self):

self.__plugins = dict(
Expand Down

0 comments on commit f6ae038

Please sign in to comment.