File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3434logging .getLogger ().setLevel (logging .INFO )
3535
3636def path_excluded (path ):
37- return "-nspkg" in path or "tests" in path or "mgmt" in path or is_metapackage (path )
37+ return "-nspkg" in path or "tests" in path or is_metapackage (path )
3838
3939# Metapackages do not have an 'azure' folder within them
4040def is_metapackage (package_path ):
@@ -59,6 +59,7 @@ def get_packages(args, package_name = ""):
5959 target_dir = root_dir
6060
6161 paths = get_setup_py_paths (args .glob_string , target_dir )
62+
6263 # Check if package is excluded if a package name param is passed
6364 if package_name and not any (filter (lambda x : package_name == os .path .basename (os .path .dirname (x )), paths )):
6465 logging .info ("Package {} is excluded from version update tool" .format (package_name ))
You can’t perform that action at this time.
0 commit comments