File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def get_compat_0_1():
6969 return get_fuse_python_api () == (0 , 1 )
7070
7171# API version to be used
72- fuse_python_api = __getenv__ ('FUSE_PYTHON_API' , '^[\d.]+$' ,
72+ fuse_python_api = __getenv__ ('FUSE_PYTHON_API' , r '^[\d.]+$' ,
7373 lambda x : tuple ([int (i ) for i in x .split ('.' )]))
7474
7575# deprecated way of API specification
@@ -554,7 +554,7 @@ def feature_needs(*feas):
554554 'has_bmap' : 26 ,
555555 'has_init' : 23 ,
556556 'has_destroy' : 23 ,
557- '*' : '!re:^\*$' }
557+ '*' : r '!re:^\*$' }
558558
559559 if not feas :
560560 return fmap
@@ -569,7 +569,7 @@ def resolve(args, maxva):
569569 for f in fp :
570570 yield f
571571 continue
572- ma = isinstance (fp , str ) and re .compile ("(!\s*|)re:(.*)" ).match (fp )
572+ ma = isinstance (fp , str ) and re .compile (r "(!\s*|)re:(.*)" ).match (fp )
573573 if isinstance (fp , type (re .compile ('' ))) or ma :
574574 neg = False
575575 if ma :
@@ -821,7 +821,7 @@ def fuseoptref(cls):
821821 os .close (pw )
822822
823823 fa = FuseArgs ()
824- ore = re .compile ("-o\s+([\w\[\]]+(?:=\w+)?)" )
824+ ore = re .compile (r "-o\s+([\w\[\]]+(?:=\w+)?)" )
825825 fpr = os .fdopen (pr )
826826 for l in fpr :
827827 m = ore .search (l )
You can’t perform that action at this time.
0 commit comments