Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37420921
en ru br
Репозитории ALT
S:7.0.10-alt2
5.1: 4.0.12-alt0.M51.1
4.1: 2.1.4-alt0.M41.5
4.0:
+backports:1.6.6-alt0.M40.2
www.altlinux.org/Changes

Группа :: Эмуляторы
Пакет: virtualbox

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: VirtualBox-2.1.0-alt-xpcom.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin