# HG changeset patch
# User borax
# Date 1250115825 -7200
# Node ID 1d29e2389bd35a1e6800991ea8351782eae0baf2
# Parent 55d4f1636c11baf743f45048eda224e6fbea4f06
- import refactoring
diff -r 55d4f1636c11 -r 1d29e2389bd3 .project
--- a/.project Wed Aug 12 17:15:38 2009 +0200
+++ b/.project Thu Aug 13 00:23:45 2009 +0200
@@ -3,7 +3,7 @@
ZTFY.utils
- Virtual Eggs
+ EGGS
diff -r 55d4f1636c11 -r 1d29e2389bd3 ztfy/utils/file.py
--- a/ztfy/utils/file.py Wed Aug 12 17:15:38 2009 +0200
+++ b/ztfy/utils/file.py Thu Aug 13 00:23:45 2009 +0200
@@ -17,24 +17,24 @@
# import standard packages
# import Zope3 interfaces
+from z3c.form.interfaces import IFileWidget
from zope.app.file.interfaces import IFile
from zope.schema.interfaces import IBytes
-from z3c.form.interfaces import IFileWidget
# import local interfaces
# import Zope3 packages
-from zope import component
+from z3c.form.converter import FileUploadDataConverter as BaseDataConverter
from zope.app.file import File
+from zope.component import adapts
from zope.schema.fieldproperty import FieldProperty
-from z3c.form.converter import FileUploadDataConverter as BaseDataConverter
# import local packages
class FileUploadDataConverter(BaseDataConverter):
- component.adapts(IBytes, IFileWidget)
+ adapts(IBytes, IFileWidget)
def toWidgetValue(self, value):
return value or ''
diff -r 55d4f1636c11 -r 1d29e2389bd3 ztfy/utils/traversing.py
--- a/ztfy/utils/traversing.py Wed Aug 12 17:15:38 2009 +0200
+++ b/ztfy/utils/traversing.py Thu Aug 13 00:23:45 2009 +0200
@@ -21,8 +21,8 @@
# import local interfaces
# import Zope3 packages
+from zope.app import zapi
from zope.interface import Interface
-from zope.app import zapi
# import local packages