improve portability to older python versions
This commit is contained in:
@ -45,7 +45,7 @@ usrpkg = []
|
|||||||
# folder, and is not called 'MAKE' is a package
|
# folder, and is not called 'MAKE' is a package
|
||||||
|
|
||||||
for d in pkgdirs:
|
for d in pkgdirs:
|
||||||
pkg = dirs.match(d)[1]
|
pkg = dirs.match(d).group(1)
|
||||||
if not os.path.isdir(os.path.join(src,pkg)): continue
|
if not os.path.isdir(os.path.join(src,pkg)): continue
|
||||||
if pkg in ['DEPEND','MAKE','STUBS']: continue
|
if pkg in ['DEPEND','MAKE','STUBS']: continue
|
||||||
if user.match(pkg):
|
if user.match(pkg):
|
||||||
|
|||||||
Reference in New Issue
Block a user