Codebase list osrframework / 8ec6a0a
Add a patch to remove unused logger function Sophie Brun 4 years ago
2 changed file(s) with 43 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: Sophie Brun <[email protected]>
1 Date: Thu, 23 Jan 2020 10:47:40 +0100
2 Subject: Remove unused logger function
3
4 Last-Update: 2020-01-23
5 Description:
6 upstream removed osrframework/utils/logger.py. See
7 https://github.com/i3visio/osrframework/commit/5ffa7eaeca70bd84dc68768c57c0028a9067d7b4
8 But it was still mentioned in 2 files.
9 ---
10 osrframework/searchengines/__init__.py | 4 ----
11 osrframework/thirdparties/pipl_com/lib/__init__.py | 5 -----
12 2 files changed, 9 deletions(-)
13
14 diff --git a/osrframework/searchengines/__init__.py b/osrframework/searchengines/__init__.py
15 index db867f4..4ed9e1f 100644
16 --- a/osrframework/searchengines/__init__.py
17 +++ b/osrframework/searchengines/__init__.py
18 @@ -17,7 +17,3 @@
19 #
20 ##################################################################################
21
22 -import osrframework.utils.logger as logger
23 -
24 -# Calling the logger when being imported
25 -logger.setupLogger(loggerName="osrframework.searchengines")
26 diff --git a/osrframework/thirdparties/pipl_com/lib/__init__.py b/osrframework/thirdparties/pipl_com/lib/__init__.py
27 index cb0d6bb..f8764f1 100644
28 --- a/osrframework/thirdparties/pipl_com/lib/__init__.py
29 +++ b/osrframework/thirdparties/pipl_com/lib/__init__.py
30 @@ -20,11 +20,6 @@
31 ##################################################################################
32
33
34 -import osrframework.utils.logger
35 -
36 -# Calling the logger when being imported
37 -osrframework.utils.logger.setupLogger(loggerName="osrframework.thirdparties.pipl_com.lib")
38 -
39
40 __version__ = '1.0'
41 """Python implementation of Pipl's data model.
11 upgrade-installation.patch
22 initalize-config.patch
33 add-script-config-upgrade.patch
4 remove-unused-logger-function.patch