Fix bug 2373 - Remove old code from v1 client in ns_show
[osm/osmclient.git] / osmclient / common / package_tool.py
index a2cbd87..b1565ea 100644 (file)
@@ -708,6 +708,8 @@ class PackageTool(object):
                 or package_handling.SOL004_TOSCA == package_type
             ):
                 the_package = SOL004Package(package_folder)
+            else:
+                raise ClientException(f"Unknown package type: {package_type}")
 
             the_package.create_or_update_metadata_file()