From 6131df7d1a7813f266d8b9101c679bac082e71dc Mon Sep 17 00:00:00 2001 From: Javinator9889 Date: Fri, 31 Aug 2018 17:56:14 +0200 Subject: [PATCH 01/13] Adaptation to Python 2.6/2.7 --- .../inspectionProfiles/Project_Default.xml | 21 +- pyGle/.idea/workspace.xml | 334 +++++++++--------- pyGle/__init__.py | 2 +- pyGle/errors.py | 12 +- pyGle/extractor/__init__.py | 49 +-- pyGle/old_init.txt | 162 --------- pyGle/url/__init__.py | 9 +- pyGle/values/AvailableCountries.py | 3 +- pyGle/values/AvailableLanguages.py | 3 +- pyGle/values/InterfaceLanguages.py | 3 +- pyGle/values/OptionsForPatents.py | 7 +- pyGle/values/OptionsForPictures.py | 15 +- setup.py | 8 +- 13 files changed, 246 insertions(+), 382 deletions(-) delete mode 100644 pyGle/old_init.txt diff --git a/pyGle/.idea/inspectionProfiles/Project_Default.xml b/pyGle/.idea/inspectionProfiles/Project_Default.xml index db91569..bb4fa8a 100644 --- a/pyGle/.idea/inspectionProfiles/Project_Default.xml +++ b/pyGle/.idea/inspectionProfiles/Project_Default.xml @@ -4,11 +4,21 @@ + + + @@ -35,6 +45,7 @@ diff --git a/pyGle/.idea/workspace.xml b/pyGle/.idea/workspace.xml index 6556945..20df6a2 100644 --- a/pyGle/.idea/workspace.xml +++ b/pyGle/.idea/workspace.xml @@ -2,14 +2,19 @@ + + - - - + + + + + + - - + + - - + + - - + + - + - - - - - - + + - + - - + + - + - + - - + + - + - - + + - + - - + + - + - - - - - - - - - - - - - - + + - + @@ -172,17 +165,17 @@ - - + + - + - - + + @@ -200,10 +193,6 @@ - [\"*\"] - [".*":]{3,}?\s - [".*": ]{3,} - [".*": &^("\w)]{3,} "[^"]*": "[^[\w]]*": = @@ -228,8 +217,12 @@ other # \w - - + urllib.error + parse + urllib.parse + (metaclass=ABCMeta) + (metaclass=__ABCMeta) + super( "lang @@ -264,6 +257,7 @@ E:\Nextcloud\Programming\pyGle\pyGle\values + E:\Nextcloud\Programming\pyGle\pyGle @@ -293,25 +287,26 @@ @@ -322,9 +317,26 @@ DEFINITION_ORDER - + + + + + + + Python + + + + + PyCompatibilityInspection + + + + @@ -334,7 +346,6 @@ - @@ -361,6 +372,7 @@