1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
Description: Adjust files to load some modules from stdlib.
Origin: Debian
Bug-Debian: http://bugs.debian.org/556355
Forwarded: not-needed
Index: boa-constructor-0.6.1/Explorers/ZipExplorer.py
===================================================================
--- boa-constructor-0.6.1.orig/Explorers/ZipExplorer.py 2009-11-27 23:34:00.364266648 +0100
+++ boa-constructor-0.6.1/Explorers/ZipExplorer.py 2009-11-27 23:33:56.272263118 +0100
@@ -21,7 +21,7 @@
import ExplorerNodes, FileExplorer
from Models import EditorModels, EditorHelper
-from ExternalLib import tarfile
+import tarfile
def isZip(file):
return os.path.splitext(file)[1] == '.zip'
Index: boa-constructor-0.6.1/ZopeLib/ZopeEditorModels.py
===================================================================
--- boa-constructor-0.6.1.orig/ZopeLib/ZopeEditorModels.py 2009-11-27 23:42:25.880265232 +0100
+++ boa-constructor-0.6.1/ZopeLib/ZopeEditorModels.py 2009-11-27 23:42:14.524259391 +0100
@@ -97,7 +97,7 @@
on saving are caught and transformed to TransportSaveErrors.
To much maintenance for every Node type to add exceptions
"""
- from ExternalLib.xmlrpclib import Fault
+ from xmlrpclib import Fault
try:
EditorModels.BasePersistentModel.save(self, overwriteNewer)
except Fault, err:
Index: boa-constructor-0.6.1/ZopeLib/ZopeExplorer.py
===================================================================
--- boa-constructor-0.6.1.orig/ZopeLib/ZopeExplorer.py 2009-11-27 23:42:26.360265103 +0100
+++ boa-constructor-0.6.1/ZopeLib/ZopeExplorer.py 2009-11-27 23:42:03.676265429 +0100
@@ -14,11 +14,12 @@
import os, urllib, urlparse, time, socket
from thread import start_new_thread
-import wx
+import wx
+import xmlrpclib
from Explorers import ExplorerNodes
from Models import EditorHelper, Controllers
-from ExternalLib import xmlrpclib, BasicAuthTransport
+from ExternalLib import BasicAuthTransport
from Preferences import IS
import Utils, Preferences
import Views, Views.SourceViews, Views.PySourceView
Index: boa-constructor-0.6.1/ZopeLib/ZopeViews.py
===================================================================
--- boa-constructor-0.6.1.orig/ZopeLib/ZopeViews.py 2009-11-27 23:42:26.108268260 +0100
+++ boa-constructor-0.6.1/ZopeLib/ZopeViews.py 2009-11-27 23:40:49.028266685 +0100
@@ -22,7 +22,7 @@
import Utils, ErrorStack
-from ExternalLib import xmlrpclib
+import xmlrpclib
# Can be extended by plug-ins, used by syntax highlighted styles
zope_additional_attributes = ''
|