File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
python/plugins/processing Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
22
__copyright__ = '(C) 2012, Victor Olaya'
23
23
24
24
from processing .tools .dataobjects import * # NOQA
25
+ from processing .tools .dataobjects import createContext
25
26
from processing .tools .general import * # NOQA
26
27
from processing .tools .general import (
27
28
algorithmHelp ,
28
29
run ,
29
30
runAndLoadResults ,
30
31
createAlgorithmDialog ,
31
- execAlgorithmDialog ,
32
- createContext
32
+ execAlgorithmDialog
33
33
)
34
34
from processing .tools .vector import * # NOQA
35
35
from processing .tools .raster import * # NOQA
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ def setUp(self):
139
139
140
140
def strip_version_xmlns (self , text ):
141
141
"""Order of attributes is random, strip version and xmlns"""
142
- return text .replace (br 'version="1.3.0"' , r '' ).replace (br 'xmlns="http://www.opengis.net/ogc"' , b'' )
142
+ return text .replace (b 'version="1.3.0"' , b '' ).replace (b 'xmlns="http://www.opengis.net/ogc"' , b'' )
143
143
144
144
def assert_headers (self , header , body ):
145
145
stream = StringIO ()
You can’t perform that action at this time.
0 commit comments