- Timestamp:
- Feb 10, 2015 11:15:24 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 98134
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/vboxapi.py
r54057 r54123 884 884 def deinit(self): 885 885 try: 886 disconnect()886 self.disconnect() 887 887 except: 888 888 pass … … 1002 1002 raise e 1003 1003 1004 ## @deprecated1005 # This used to refer to a session manager class with only one method1006 # called getSessionObject. The method has moved into this call.1007 self.mgr = self1008 1009 1004 def __del__(self): 1010 1005 self.deinit() … … 1016 1011 """ 1017 1012 return 3 1013 1014 @deprecated 1015 @property 1016 def mgr(self): 1017 """ 1018 This used to be an attribute referring to a session manager class with 1019 only one method called getSessionObject. It moved into this class. 1020 """ 1021 return self; 1018 1022 1019 1023 # … … 1077 1081 def openMachineSession(self, oIMachine, fPermitSharing=True): 1078 1082 """ 1079 Attem ts to open the a session to the machine.1083 Attempts to open the a session to the machine. 1080 1084 Returns a session object on success. 1081 1085 Raises exception on failure. 1082 1086 """ 1083 oSession = self. mgr.getSessionObject(self.vbox)1087 oSession = self.getSessionObject(self.vbox); 1084 1088 if fPermitSharing: 1085 1089 type_ = self.constants.LockType_Shared
Note:
See TracChangeset
for help on using the changeset viewer.