Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(4)  |  Derive(0)  |  Import(8)

src/z/o/Zope2-2.13.22/src/ZPublisher/Converters.py   Zope2(Download)
from types import ListType, TupleType, UnicodeType
from DateTime import DateTime
from DateTime.interfaces import SyntaxError
from cgi import escape
 
        v = DateTime(v)
    except SyntaxError:
        raise SyntaxError("Invalid DateTime " + escape(repr(v)))
    return v
 
        v = DateTime(v, datefmt="international")
    except SyntaxError:
        raise SyntaxError("Invalid DateTime " + escape(repr(v)))
    return v
 

src/z/o/Zope-HEAD/src/ZPublisher/Converters.py   Zope(Download)
from types import ListType, TupleType, UnicodeType
from DateTime import DateTime
from DateTime.interfaces import SyntaxError
from cgi import escape
 
        v = DateTime(v)
    except SyntaxError:
        raise SyntaxError("Invalid DateTime " + escape(repr(v)))
    return v
 
        v = DateTime(v, datefmt="international")
    except SyntaxError:
        raise SyntaxError("Invalid DateTime " + escape(repr(v)))
    return v
 

src/p/r/Products.PloneFormGen-1.7.14/Products/PloneFormGen/content/fields.py   Products.PloneFormGen(Download)
from DateTime import DateTime
try:
    from DateTime.interfaces import SyntaxError as DateTimeSyntaxError
    from DateTime.interfaces import DateError as DateError
except ImportError:

src/p/r/Products.PloneFormGen-HEAD/Products/PloneFormGen/content/fields.py   Products.PloneFormGen(Download)
from DateTime import DateTime
try:
    from DateTime.interfaces import SyntaxError as DateTimeSyntaxError
    from DateTime.interfaces import DateError as DateError
except ImportError:

src/f/t/ftw.meeting-1.4.9/ftw/meeting/browser/create_meeting.py   ftw.meeting(Download)
from DateTime import DateTime
from DateTime.interfaces import SyntaxError as DateTimeSyntaxError
from plone.i18n.normalizer import idnormalizer
from Products.Five.browser import BrowserView
from zExceptions import BadRequest

src/c/o/collective.migrator-1.8/collective/migrator/scripts/mod_time.py   collective.migrator(Download)
from StringIO import StringIO
import urllib2
from DateTime.interfaces import SyntaxError
 
def dump_mod_time(self):

src/f/t/ftw.contentpage-1.6.5/ftw/contentpage/browser/baselisting.py   ftw.contentpage(Download)
from DateTime import DateTime
from DateTime.interfaces import SyntaxError as dtSytaxError
from Products.CMFCore.utils import getToolByName
from Products.CMFPlone.PloneBatch import Batch
from zope.publisher.browser import BrowserView

src/f/t/ftw.mail-2.1.0/ftw/mail/mailtab.py   ftw.mail(Download)
from DateTime import DateTime
from DateTime.interfaces import SyntaxError
from ftw.mail import _
from ftw.tabbedview.browser import listing
from ftw.table import helper