File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ def discover_modules(self):
342
342
root_uri = self ._path2uri (os .path .join (self .root_path ,
343
343
dirpath ))
344
344
for dirname in dirnames [:]: # copy list - we modify inplace
345
- package_uri = '.' . join (( root_uri , dirname ))
345
+ package_uri = f' { root_uri } . { dirname } '
346
346
if (self ._uri2path (package_uri ) and
347
347
self ._survives_exclude (package_uri , 'package' )):
348
348
modules .append (package_uri )
@@ -351,7 +351,7 @@ def discover_modules(self):
351
351
# Check filenames for modules
352
352
for filename in filenames :
353
353
module_name = filename [:- 3 ]
354
- module_uri = '.' . join (( root_uri , module_name ))
354
+ module_uri = f' { root_uri } . { module_name } '
355
355
if (self ._uri2path (module_uri ) and
356
356
self ._survives_exclude (module_uri , 'module' )):
357
357
modules .append (module_uri )
You can’t perform that action at this time.
0 commit comments