Sisyphus repository
Last update: 26 march 2019 | SRPMs: 17629 | Visits: 13280212
en ru br
ALT Linux repos
S:5.2.26-alt2
5.0: 3.0.4-alt0.M50.1
4.1: 2.1.4-alt0.M41.5
4.0:
+backports:1.6.6-alt0.M40.2

Group :: Emulators
RPM: virtualbox

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: VirtualBox-2.1.0-alt-xpcom.patch
Download


diff --git a/VirtualBox/src/libs/xpcom18a4/python/__init__.py b/VirtualBox/src/libs/xpcom18a4/python/__init__.py
index f7ec40a..4369451 100644
--- a/VirtualBox/src/libs/xpcom18a4/python/__init__.py
+++ b/VirtualBox/src/libs/xpcom18a4/python/__init__.py
@@ -99,7 +99,7 @@ class ConsoleServiceStream:
     def flush(self):
         pass
     def write(self, msg):
-        import _xpcom
+        from xpcom import _xpcom
         _xpcom.LogConsoleMessage(msg)
     def close(self):
         pass
diff --git a/VirtualBox/src/libs/xpcom18a4/python/components.py b/VirtualBox/src/libs/xpcom18a4/python/components.py
index 9ea64fc..f6ddd87 100644
--- a/VirtualBox/src/libs/xpcom18a4/python/components.py
+++ b/VirtualBox/src/libs/xpcom18a4/python/components.py
@@ -37,7 +37,7 @@
 
 # This module provides the JavaScript "components" interface
 import xpt
-import xpcom, _xpcom
+import xpcom, xpcom._xpcom as _xpcom
 import xpcom.client
 import xpcom.server
 import types
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin