Support for build-time versions in pyVmomi

Since introduction of meta-versions and related
generated versions, we need facility, allowing
code to specify those versions during run-time.

(Note that although version classes are well-
defined, the particular versions that correspond
to a class change from build to build, depending
on meta-version state.)
This commit is contained in:
Tianhao He
2015-09-30 20:10:13 -07:00
parent 0e214cfa96
commit b812a1d8f6

View File

@@ -1260,9 +1260,6 @@ class _BuildVersions:
def GetNamespace(self, vmodlNs):
return self._nsMap[vmodlNs]
def GetInternalNamespace(self, vmodlNs):
return "internal%s" % self.GetNamespace(vmodlNs)
types = Object()
nsMap = {}
versionIdMap = {}